Post Closed as "duplicate" by jasonwryan, JdeBP, Anthony Geoghegan, jimmij, Jeff Schaller of
2 added 11 characters in body
source | link

What differences between two below commands in CentOS7?

$ 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 ?

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 ?

What differences between two below commands in CentOS7?

$ 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 ?

1
source | link

What differences between `type cd` and `which cd` commands in linux?

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 ?