PDA

View Full Version : Terminal Commands


VegetaPunk
Mar 7, 2003, 09:14 PM
Would you guys/gals suggest that I get a unix for mac guide book I would just like the basics really if you could post some commands that would be alot of help to, any of the utility commands...like the daily weekly and monthly one, and anyother useful ones

thanks

janey
Mar 7, 2003, 09:30 PM
to find out more bout these commands type in "man (command)"
cd, banner, chmod, telnet, ls, top, kill, rm, su, mkdir, tar, java, ftp, fortune, pwd, uptime, ps, mv, open...
they're the easy ones
for example the terminal should say stuff like:
Last login: Fri Mar 7 19:26:35 on ttyp1
Welcome to Darwin!
[jane-ibook:~] jane% su root
Password:
[jane-ibook:/Users/jane] jane# pwd
/Users/jane
[jane-ibook:/Users/jane] jane# uptime
7:29PM up 6 days, 23:49, 2 users, load averages: 1.65, 1.20, 0.67
[jane-ibook:/Users/jane] jane# ping -c 2 apple.com
PING apple.com (17.254.3.183): 56 data bytes
64 bytes from 17.254.3.183: icmp_seq=0 ttl=52 time=57.717 ms
64 bytes from 17.254.3.183: icmp_seq=1 ttl=52 time=37.032 ms

--- apple.com ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 37.032/47.374/57.717 ms
[jane-ibook:/Users/jane] jane#

timbloom
Mar 8, 2003, 12:19 AM
There are a lot of "pocket guide"s to unix. I personally think the best pocket reference is Mac OS X Unleashed. It's about the smallest a full featured reference book for OS X can get. tehee... it's around 1000 pages. Well 'man' pages are great, but often confusing if you aren't too familiar with unix.