hok1man
Technical User
- Feb 16, 2008
- 102
Hi guys,
I would like to customize my cd:
please look the commands below
can anyone tell me what the original 'cd' command?
because I want to use alias cd to do something else.
my shell is bash and platform solaris 8
I have search man cd, they told me it's supposed to be /usr/bin/cd, but as you can see that command doesn't work
Thanks guys
I would like to customize my cd:
please look the commands below
Code:
%which cd
/usr/bin/cd
%pwd
/opt/oracle
%cd ~user1
%pwd
/home/user1
%cd -
%pwd
/opt/oracle
%/usr/bin/cd ~user1
%pwd
/opt/oracle <-- [red]see?? doesn't work[/red]
can anyone tell me what the original 'cd' command?
because I want to use alias cd to do something else.
my shell is bash and platform solaris 8
I have search man cd, they told me it's supposed to be /usr/bin/cd, but as you can see that command doesn't work
Thanks guys