How to get the current directory Path in your prompt?
i am getting a $ mark only in my prompt?
Please help me with this
How to get the current directory Path in your prompt?
i am getting a $ mark only in my prompt?
Please help me with this
Assuming that you're using a shell that recognizes basic Bourne shell syntax, try:
PS1='$PWD: '
Thanks A Lot
just type 'pwd' without any quotes.