Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 05-24-2004, 04:30 AM   #1
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, 04:50 AM   #2
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...

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> "


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 04:21 AM
Sama SUSE 10 beta 4 doesnt show windows complete file list 1kyle SUSE / openSUSE 0 09-09-2005 05:59 AM
change profile to show current directory jpolachak Linux - Newbie 2 01-20-2005 07:36 PM
current Slack-Current giving troubles? r_jensen11 Slackware 5 02-02-2004 05:08 PM
command to show current display resolution ?? itsjustme Slackware 4 12-05-2003 01:59 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:29 PM.

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