To "install" these two functions, open your .bashrc file (located in the user root directory) with a text editor and paste in the entire code block, making the appropriate replacements to the default values before saving. If this file doesn't exist (as is the case on Mac OS X) then simply create it, then add the following line to the file .bash_profile (also in the user root directory):