This question already has an answer here:
What differences between two below commands in CentOS7?
$ type cd cd is a shell builtin
$ which cd cd is a shell builtin cd is /usr/bin/cd cd is /bin/cd
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 ?