LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-18-2006, 04:34 AM   #1
VicRic
Member
 
Registered: Sep 2006
Location: Vancouver, Canada
Distribution: Mandriva 2010 / Fedora 15 2.6.40.6-0
Posts: 44

Rep: Reputation: 16
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!
 
Old 10-19-2006, 04:29 AM   #2
olaola
Member
 
Registered: Aug 2006
Location: Italy
Distribution: Fedora
Posts: 41

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

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

bye
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
command to show full directory path cuco76 Linux - Newbie 2 10-12-2006 09:36 PM
Gnome Terminal: Show only current directory at prompt? extrasolar Linux - Software 5 08-01-2006 02:11 PM
configuring terminal so not to show full path harshnoise SUSE / openSUSE 2 02-26-2005 08:42 AM
change profile to show current directory jpolachak Linux - Newbie 2 01-20-2005 08:36 PM
Gnome back to -> Full Terminal ? broke? lrt2003 Slackware 2 06-15-2004 12:18 AM


All times are GMT -5. The time now is 01:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration