You can set your prompt to display pwd; simply add following to ~/.bashrc file:
Code:
PS1='[\u@\h \w ] \$ '
Here \u will show username
\h for hostname
\w for working directory
So, let's say if I am in my home directory, Downloads/tmp directory, this is what it will show:
Quote:
[username@hostname ~/Downloads/tmp ] $
|
There are many more options, here is list:
https://ss64.com/bash/syntax-prompt.html