On 8/12/21 5:58 PM, Ekkard Gerlach wrote:
> Hello,
>
> how can I customize the bash/ terminal promtĀ always
>
> [root@arthur Desktop]#
>
> to
>
> [root@arthur /home/user41/Desktop]#
>
> or root@arthur:/home/user41/Desktop#
>
> ?
>
Try editing your ~/.bashrc
Look for a line that looks like this:
PS1='$\u@\h:\w\$ '
Then tack on PWD like this:
PS1='$\u@\h:\w\$PWD$ '
That should do it or at least get you close enough that a web search can
get you the rest of the way.
Hope that helps.
~Stack~