Apple Man(ual) Pages - a guide to available commands from Terminal

by: 
Last modified: Mar 13, 2013 4:38 AM
1 2655 Last modified Mar 13, 2013 4:38 AM

Apple has publicized an index of the man pages (Unix command Manual). Anyone familiar with Unix will be able to use this through Applications -> Utilities -> Terminal or through X11 if installed. Applescript can access those commands through a simple process such as:


try


do shell script "[unix command]"


on error error_message


beep


display dialog error_message buttons {"OK"} default button 1


end try


Note you replace [unix command] (including brackets) with any command you can find above to issue that command.

You can also add after the end quote a


with administrator privileges


to issue the command with a sudo login. If you don't know what sudo is, be very sure you are aware of the implications of being a "Superuser" on Unix. You can wipe the entire hard drive with one short command if you aren't careful.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.