Categories
Linux

Showing the path in the Linux command prompt

[sourcecode language="php"]
# show full path of current dir in linux command prompt
PS1="[\u@\h \w]\\$ "
[/sourcecode]

Leave a Reply