LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 11-19-2010, 11:53 AM   #1
Ribo01
Member
 
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, 11:57 AM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Hi,

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:
http://www.phpbb.com/community/faq.php?mode=bbcode#f2r1
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02: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
Open Source Consulting | Domain Registration