LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 05-24-2004, 05:30 AM   #1
creilar
Newbie
 
Registered: May 2004
Location: Barcelona
Distribution: Fedora Core 1, Ubuntu
Posts: 17

Rep: Reputation: 0
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?
 
Old 05-24-2004, 05:50 AM   #2
seidren
Member
 
Registered: May 2003
Distribution: Ubuntu, Windows XP
Posts: 90

Rep: Reputation: 16
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> "
 
  


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
Debian: What is the command to show my current kernel version? charon79m Linux - General 4 01-18-2011 05:21 AM
Sama SUSE 10 beta 4 doesnt show windows complete file list 1kyle Suse/Novell 0 09-09-2005 06:59 AM
change profile to show current directory jpolachak Linux - Newbie 2 01-20-2005 08:36 PM
current Slack-Current giving troubles? r_jensen11 Slackware 5 02-02-2004 06:08 PM
command to show current display resolution ?? itsjustme Slackware 4 12-05-2003 02:59 PM


All times are GMT -5. The time now is 06:07 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration