LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 05-13-2004, 11:48 AM   #1
zepplin611
Member
 
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 prompt...to 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.


Thanks..


Zepplin611
 
Old 05-13-2004, 12:49 PM   #2
acker
Member
 
Registered: Apr 2004
Location: Timisoara, Romania
Distribution: Debian
Posts: 90

Rep: Reputation: 15
hi,

I assume you are using bash as your shell. I really don't know the exact command, but they know: http://www.tldp.org/HOWTO/Bash-Prompt-HOWTO/
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: http://www.gilesorr.com/bashprompt/prompts/index.html

Last edited by acker; 05-13-2004 at 12:52 PM.
 
Old 05-13-2004, 01:07 PM   #3
TheOther1
Member
 
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.
 
  


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 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 11:27 AM
Prompt w/ current dir and user Jair Slackware 2 03-15-2004 07:16 PM
How to change the path of the current directory ? ndha Linux - General 7 12-03-2003 12:05 PM
current working directory in ksh prompt brian0918 Linux - Newbie 2 06-03-2003 05:34 PM
current working directory in ksh prompt brian0918 Linux - Software 2 06-03-2003 02:50 PM


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