LinuxQuestions.org
Visit the LQ Articles and Editorials section
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-22-2004, 01:37 PM   #1
Paxmaster
Member
 
Registered: Jun 2004
Location: unknown place in NYC
Distribution: Ubuntu
Posts: 377

Rep: Reputation: 30
couldn't get to current directory


shell-init: could not get current directory: getcwd: cannot access parent directories: No such file or directory

my .bashrc look like this


if [ "$TERM" = "linux" ]

then
#we're on the system console or maybe telnetting in
export PS1="\e[32;1m[Paxmaster>\t]\e[31;1m>"
else
#we're not on the console, assume an xterm
export PS1="\[\e]2;\u@\H\w\a\e[34;1m\]\u\[\e[34;m\]@\h:\[\e[33m\]\W\[\e[31;1m>"

fi

when ever i try to open aterm or others i the error that i have stated above
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
how do I find out the current working directory? nodger Programming 2 12-26-2004 12:28 PM
How to change the path of the current directory ? ndha Linux - General 7 12-03-2003 12:05 PM
list only files in current directory xscousr Programming 8 09-22-2003 08:35 AM
BASH: How to get current workin directory? gmitra Programming 9 09-20-2003 11:30 PM
current working directory in ksh prompt brian0918 Linux - Newbie 2 06-03-2003 05:34 PM


All times are GMT -5. The time now is 11:41 AM.

Main Menu
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