Custom PS1 not showing the current working directory
问题 I have customized the primary prompt for bash shell but unfortunately it is not showing the current working directory as can be seen below. [cifsamidala]w# pwd /home/Vinod/SearchIdIssue [cifsamidala]w# Here is what I have customized my PS1: HOST=`tput bold``hostname``tput sgr0` PS1="[${HOST}]\w # " Here is the Shell info for your reference. [cifsamidala]w# echo $SHELL /sbin/sh [cifsamidala]w# echo $0 -sh I also tried with 'pwd' as below but of no use. PS1="[${HOST}]`pwd` # " Kindly let me