Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 05-13-2004, 10:48 AM   #1
Registered: Jan 2004
Distribution: AIX 4.3 RH 7,8,9 / Fedora C1/
Posts: 187

Rep: Reputation: 30
Placing current path in the prompt

To all:

When i change directories...i would like to have my current path listed at the unix let me know where i am at all times w/o typing 'pwd' can someone show me how to do this??

i am using Fedora C1.


Old 05-13-2004, 11:49 AM   #2
Registered: Apr 2004
Location: Timisoara, Romania
Distribution: Debian
Posts: 90

Rep: Reputation: 15

I assume you are using bash as your shell. I really don't know the exact command, but they know:
Even 'info bash' should help (but i think it is harder to read).

read or wait for someone to have mercy on your soul

check this:

Last edited by acker; 05-13-2004 at 11:52 AM.
Old 05-13-2004, 12:07 PM   #3
Registered: Feb 2003
Location: Atlanta, GA
Distribution: RHAS 2.1, RHEL3, RHEL4, SLES 8.3, SLES 9, SLES9_64, SuSE 9.3 Pro, Ubuntu, Gentoo
Posts: 335

Rep: Reputation: 32
Check out fancybash for a good color bash prompt. Easy to install and easy to configure if you don't like the default settings.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to get absolute path of current executing C/C++ prog? Thinking Programming 2 10-10-2005 10:27 AM
Prompt w/ current dir and user Jair Slackware 2 03-15-2004 06:16 PM
How to change the path of the current directory ? ndha Linux - General 7 12-03-2003 11:05 AM
current working directory in ksh prompt brian0918 Linux - Newbie 2 06-03-2003 04:34 PM
current working directory in ksh prompt brian0918 Linux - Software 2 06-03-2003 01:50 PM > Forums > Linux Forums > Linux - General

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

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