LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 03: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, 03: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



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 08:36 PM
Gnome Terminal: Show only current directory at prompt? extrasolar Linux - Software 5 08-01-2006 01:11 PM
configuring terminal so not to show full path harshnoise SUSE / openSUSE 2 02-26-2005 07:42 AM
change profile to show current directory jpolachak Linux - Newbie 2 01-20-2005 07:36 PM
Gnome back to -> Full Terminal ? broke? lrt2003 Slackware 2 06-14-2004 11:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:20 PM.

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
Open Source Consulting | Domain Registration