Mac Command Line only

From Notepedia
Jump to: navigation, search

Commands on Mac only

The Mac doesn't use fdisk -l, instead they use:

# diskutil list

To force eject a CD

# drutil tray eject

OR

# drutil eject

To flush DNS cache:

# dscacheutil -flushcache