Apple UNIX
The underwater operating system of Apple SnowLeopard is based on Unix. So use the power of Unix in Apple Mac.
Useful Unix Utilities
Program | Description | Usage Example |
---|---|---|
bc | Basic Calculator, type 2+2 and press return. | |
kill | Max OS X offers no shortage of ways to cut the cord on programs that seems to be locked up or running amok. Use the Activity Monitor or use kill.
First get the ID number running top. |
|
open | Launch programs | |
ps | Process Status (ps) is another way to get a quick look at all running programs. For the best results use the -e and the -f flags. | ps -ef |
shutdown | Shutdown with the -h flags has its advantages, because it gives the user more control. | shutdown -h |
tar, gzip, zip | Compressed Archive files | |
top | Running top (table of processes) lists every program currently running. | top -u |
xattr | Manage the extended attributes of Mac files, invisible metadata describing all kind of characteristics of every file. | |
alias | Shortcuts for commands | alias la='ls -Al' |
nano, emacs, vim | editors | |
grep | Grep is a filter and is used in combination with other programs. | |
find | Terrible powerful program with a lot of features. | find . -name "fn" -type f -print 2>/dev/null |
mdfind | MedaData find | mdfind 'kMDItenFlashOnOff == "1"' |
launchd | Launching System Programs | |
ftp | File Transfer Program |