OSX Bash – commands I didn’t know before (or saw once and forgot)
airport -s — scans the wireless networks around you caffeinate -u -t 3600 — prevent the computer from sleeping for 3600 seconds caffeinate -s scp MYFILE.MOV me:myserver/MYFILE.MOV — prevent sleep until scp is complete locate filename_to_search_for — find from the spotlight database opendiff file1.txt file2.txt — opens gui file comparison (nice!) sysctl -n machdep.cpu.brand_string — get computer information systemsetup — ability to set a wide range of options normally found in gui screens — do: systesetup help SOURCE: INFOWORLD