Executing the cd command when at the root level causes
Answers
Answered by
2
cd means current directory
so to change to another directory use /
eg: cd/Desktop to change the directory to desktop
so to change to another directory use /
eg: cd/Desktop to change the directory to desktop
Answered by
0
The reference in which the question has been asked is not specified. However, I will answer the question in reference to Linux shell and windows cmd.
The CD command (commonly called as Change Directory command) is used for changing directory, both in windows and in Linux terminals.
However, if the cd command is executed at root level in Linux terminal, it’ll change the working directory to the login directory whereas, in windows cmd, it would not change the directory.
Similar questions