LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Gnome-terminal - how to show full current directory (https://www.linuxquestions.org/questions/linux-newbie-8/gnome-terminal-how-to-show-full-current-directory-493410/)

VicRic 10-18-2006 03:34 AM

Gnome-terminal - how to show full current directory
 
Hello, good morning, do you know by chance a way to get the Terminal program (Gnome-terminal) to show the full-current-directory on its prompt?

What I mean is, instead of just showing for instance -

Quote:

[root@LINUXROUTER conf]#
show

Quote:

[root@LINUXROUTER /etc/httpd/conf]#
I know sometimes the path will get too long but I could live with that.

Cheers!

olaola 10-19-2006 03:29 AM

http://www.davidpashley.com/articles/bash-prompts.html

here you can find what you need... I suggest "\w" for your prompt

bye


All times are GMT -5. The time now is 06:04 PM.