What differences between `type cd` and `which cd` commands in linux?
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
What differences between two below commands?
$ type cd
cd is a shell builtin
and
$ which cd
cd is a shell builtin
cd is /usr/bin/cd
cd is /bin/cd
The cd
is a shell builtin command, but why which
command show another path for cd ?
Is the cd command both internal command and external command ?
linux shell command
add a comment |Â
up vote
0
down vote
favorite
What differences between two below commands?
$ type cd
cd is a shell builtin
and
$ which cd
cd is a shell builtin
cd is /usr/bin/cd
cd is /bin/cd
The cd
is a shell builtin command, but why which
command show another path for cd ?
Is the cd command both internal command and external command ?
linux shell command
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
What differences between two below commands?
$ type cd
cd is a shell builtin
and
$ which cd
cd is a shell builtin
cd is /usr/bin/cd
cd is /bin/cd
The cd
is a shell builtin command, but why which
command show another path for cd ?
Is the cd command both internal command and external command ?
linux shell command
What differences between two below commands?
$ type cd
cd is a shell builtin
and
$ which cd
cd is a shell builtin
cd is /usr/bin/cd
cd is /bin/cd
The cd
is a shell builtin command, but why which
command show another path for cd ?
Is the cd command both internal command and external command ?
linux shell command
linux shell command
asked 1 min ago
Reza Harasani
1609
1609
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f476951%2fwhat-differences-between-type-cd-and-which-cd-commands-in-linux%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password