Review your favorite Linux distribution.
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 11-19-2010, 12:53 PM   #1
Registered: Aug 2010
Posts: 103

Rep: Reputation: 5
present working directory problem.

hello y'all i cant seem to get my present working directory shown in my prompt even after adding this two lines in my \W or \w to my PS1 in .bashrc, its always give me an error. need help anayone . thanks agagin. cheers
Old 11-19-2010, 12:57 PM   #2
LQ Guru
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551

someone would be happy to try helping, but without knowing what error you get, and what exactly your PS1 code/string looks like, it's difficult to speculate on what the problem is. Please show what you've got in the .bashrc, and copy+paste for us the exact error message from your terminal to your next post.

Note that when posting pieces of code, and stuff from your terminal, please use code tags around the data. See here for details:


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
cpufreq directory not present. How to change governor for P states in such a case kashyapa Linux - General 7 11-03-2009 03:58 PM
cpufreq directory not present. How to change governor for P states in such a case kashyapa Programming 1 10-29-2009 09:27 AM
C++: Determining present working directory harshnoise Programming 4 09-16-2005 10:28 AM
Bash's "present working directory" doesn't exit jonr Linux - General 2 11-07-2003 02:58 PM
sblive alsa, device or directory not present?? jamesgf Linux - Hardware 0 04-08-2003 01:03 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:42 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