top of page
Writer's pictureJatin Madaan

Unix command to change prompt from default to PWD


Go to home directory in Unix/Linux machine and edit file .bash_profile (file name is with . and might not be visible with ls -ltr command ,use ls -lart instead ) .


Edit file and enter : PS1='$PWD-->'


Save file and then type $source .bash_profile





9 views0 comments

Comments


bottom of page