Command keys that can be used on boot up of a Mac
HomeBrew is a great package manager for OS X. For more details, go to their site located here.
An alternative launcher for Spotlight
Sequence of execution for profile scripts
Reference: The Geek Stuff
This is particular useful when troubleshooting how the $PATH is structured
Generating a SSH RSA key for your Mac
ssh-keygen -t rsa -C “[email protected]”
Modifying your hostname permanently
There are two ways to modify your hostname for your Mac.
This actually changes your machine name and your hostname will be <machine-name>.local
Go to System Preferences –> Sharing
Replace the Computer Name with the machine name you want
From the terminal, type
sudo scutil --set HostName larryx.local
Setup SSH Forwarding
SSH Forwarding is a really safe way for you to ssh to another server and then use your key to then access another server.
Making an ISO Image to boot from a USB drive
Get a list of drives on your computer
Unmount the appropriate drive
diskutil unmountDisk /dev/install the ISO Image on>
Copy file to the drive you want to mount the isoimage on
dd if=<path of ISO Image> of=<path of your USB Drive>
Removing Java from OS X is a bit of a beast. Found myself hunting and pecking to figure out what needed to be done. I’ve created the above link to make life a bit easier.