View previous topic :: View next topic |
Author |
Message |
kai n00b
Joined: 12 Jun 2002 Posts: 53 Location: Oakland, CA
|
Posted: Wed Jun 12, 2002 6:40 pm Post subject: cd.. doesn't work |
|
|
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 |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Wed Jun 12, 2002 6:42 pm Post subject: |
|
|
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 |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Wed Jun 12, 2002 6:44 pm Post subject: |
|
|
Oh, to make the alias, do this:
Code: |
echo alias cd..="cd .." >> ~/.bashrc
|
|
|
Back to top |
|
|
kai n00b
Joined: 12 Jun 2002 Posts: 53 Location: Oakland, CA
|
Posted: Wed Jun 12, 2002 6:49 pm Post subject: |
|
|
awesome....thanks! |
|
Back to top |
|
|
|