Sunday, August 2, 2015

Change the Terminal Command Prompt

export PS1="\w/\u$ "
  1. Put the following in you .bashrc or .bash_profile in you root/home directory:   export PS1= "\w/\u$ "
  2. Restart Terminal

Links
Bash Prompt Basics


No comments: