By default, when you open up a new Terminal window in Mac OS X the command prompt displays a relatively long name:
I prefer to shorten this to a simple dollar sign ($) in order to free up space.
To change your default command line prompt, follow these instructions:
1) Navigate to your home directory:
2) Create a file called
3) Add the following line (press
export PS1="$ "
4) Save the file (press
:wq and hit
5) Restart Terminal
You should now see something like this:
There are other ways you can configure the command prompt (for example, showing the current time), but I prefer to keep it simple.