top of page

Unix command to change prompt from default to PWD

Writer's picture: Jatin MadaanJatin Madaan

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

Commenti


  • linkedin

©2019 by Jatinmadaan

bottom of page