COMPUTER PROGRAMMING FUNDAMENTALS
RASPBERRY PI PROJECT IDEAS
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
Which of the Linux command-line commands listed below is used for directory traversal/navigation?
|
change
|
|
cd
|
|
cdc
|
|
ps
|
Explanation:
Detailed explanation-1: -The Linux cd command offers several ways to navigate and change the working directory using the terminal window. It lets you change directories using relative and absolute paths, move to parent or root directories, or find directories with incomplete names. Note: The cd command is a built-in shell command.
Detailed explanation-2: -The ls command is used to list files or directories in Linux and other Unix-based operating systems. Just like you navigate in your File explorer or Finder with a GUI, the ls command allows you to list all files or directories in the current directory by default, and further interact with them via the command line.
There is 1 question to complete.