At first, goes this:
takes your arguments and reads them aloud through the audio output device.
It’s very well made — see macosxhints.com/comment.php?mode=view&cid=107211
Try it with texts My name is Dr. Smith and I live on Smith Dr., The soldier decided to desert his dessert in the desert and Since there is no time like the present, he thought it was time to present the present.
Create an ISO image from a CD/DVD:
$ diskutil unmountDisk /dev/disk2s0 $ dd if=/dev/disk2s0 of=cdname.iso bs=32m
Use preview to access a man page:
$ man -t rsync | open -f -a /Applications/Preview.app
Command line version for secure delete.
$ ifconfig en0 ether 00:00:00:00:00:00
Changes (spoofs) MAC address until next reboot
Find MAC address of computer
$ ifconfig en0 | grep ether | sed s/://g | sed s/ether//
OS X specific things:
uses the Spotlight search indexes from the commandline, so you can do full-text searches without using the Search pulldown.
How to enable TimeMachine to backup to a NAS:
$ defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1
Command to create sparsebundle and to copy over to NAS
sudo hdiutil create -nospotlight -library SPUD -size 160g -fs "Case-sensitive Journaled HFS+" -type SPARSEBUNDLE -volname "<VOLNAME>" ./<HOSTNAME>_<MAC_ADDRESS>.sparsebundle
Works very well backing up to my NAS.