ls -al
in any directory.nano .bash_profile
– This command will open the .bash_profile document (or create it if it doesn’t already exist) in the easiest to use text editor in Terminal – Nano.ctrl +o
Hit return
to save. Then exit Nano by typing ctrl+x
source .bash_profile
and watch your prompt change.