To run Software Update on your Mac from the command line, open Terminal.app and run the command below: sudo softwareupdate -i -a
The fastest way to reboot your Mac is from the command line. To do so, open Terminal.app (Applications –> Utilities –> Terminal)...
To eject a CD on your Mac from the command line, type one of the following commands: drutil eject or drutil tray...
To burn a CD from the command line is very easy on a Mac. Just type the command below: hdiutil burn image.iso