Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cd.. doesn't work
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
kai
n00b
n00b


Joined: 12 Jun 2002
Posts: 53
Location: Oakland, CA

PostPosted: Wed Jun 12, 2002 6:40 pm    Post subject: cd.. doesn't work Reply with quote

I just recently got Gentoo up and running. When I'm in my bash shell, I am used to being able to switch to the next lowest directory by typing:

# cd..

However, this doesn't work in Gentoo. It doesn't work for either root or user. Is there a setting in /etc/skel that I would add? Any suggestions?
Thanks!
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Wed Jun 12, 2002 6:42 pm    Post subject: Reply with quote

cd is a command, cd.. is not. To go to the parent directory, type "cd ..". You could set up an alias in ~/.bashrc, if you wanted to.
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Wed Jun 12, 2002 6:44 pm    Post subject: Reply with quote

Oh, to make the alias, do this:

Code:

echo alias cd..="cd .." >> ~/.bashrc
Back to top
View user's profile Send private message
kai
n00b
n00b


Joined: 12 Jun 2002
Posts: 53
Location: Oakland, CA

PostPosted: Wed Jun 12, 2002 6:49 pm    Post subject: Reply with quote

awesome....thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum