Customize your terminal prompt

You can customize your terminal prompt to look like this:
vassilis@Wide-MAC-OS: ~/Desktop$

simply type [export PS1=" "]

Between the quotation marks, you can add the following lines to customize your Terminal prompt:

\d – Current date
\t – Current time
\h – Host name
\# – Command number
\u – User name
\W – Current working directory (ie: Desktop/)
\w – Current working directory, full path (ie: /Users/Admin/Desktop)

the command [export PS1="\u@\h\w$ "] for example will look like:

Admin@MacBook~Desktop/$ "

Make it permanent ...

edit your .profiile file located in your home root folder using [pico] editor. Add a line, type the above command and save the file.