LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   show complete current paht (https://www.linuxquestions.org/questions/linux-newbie-8/show-complete-current-paht-185118/)

creilar 05-24-2004 04:30 AM

show complete current paht
 
In Linux (text mode) I just see the name of the current directory. I'd like to see all the path (as in MS-DOS). How do you do it?

seidren 05-24-2004 04:50 AM

You can type pwd to see the full path of the current directory you are in.

Or you will have to make changes to the PS1 environment variable as discussed in this howto...

http://www.tldp.org/HOWTO/Bash-Promp...sequences.html

The variable is usually store in the file /etc/bashrc . You will have to find it and change it accordingly.

For Example you will want it to be PS1="\u@\h \w> "


All times are GMT -5. The time now is 10:14 AM.