LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to check if the command CD is built into the Shell and not an external binary (command) (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-check-if-the-command-cd-is-built-into-the-shell-and-not-an-external-binary-command-4175676575/)

Victor43 06-05-2020 03:49 PM

How to check if the command CD is built into the Shell and not an external binary (command)
 
How is it possible to verify that the following command "CD" change directory is actually built into the shell and not an external binary command ?

Thanks

shruggy 06-05-2020 04:42 PM

Code:

type cd

GazL 06-05-2020 05:59 PM

Since cd affects the current shell execution environment, it is always provided as a shell regular built-in.

Victor43 06-05-2020 08:21 PM

Quote:

Originally Posted by shruggy (Post 6131272)
Code:

type cd

Thank you


All times are GMT -5. The time now is 07:39 AM.