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-22-2004, 12: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



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 11:28 AM
How to change the path of the current directory ? ndha Linux - General 7 12-03-2003 11:05 AM
list only files in current directory xscousr Programming 8 09-22-2003 07:35 AM
BASH: How to get current workin directory? gmitra Programming 9 09-20-2003 10:30 PM
current working directory in ksh prompt brian0918 Linux - Newbie 2 06-03-2003 04:34 PM

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

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