Mike has changed directory into one subdirectory after the next and has lost track of where he’s at in the directory tree. Which of the following commands can he use to tell him the full path to the current subdirectory he is in? A. cd -
B. pwd
C. cwd
D. ls -dir

Respuesta :

Answer:

The answer is "Option B".

Explanation:

In Linux, PWD is a printed working directory, which is used to describe the path of the current directory that we are working with, this directory also starts with the root directory. It is a built-in shell or an individual, and the environmental variable, that saves the individual directory's path, and other choices were wrong that can be described as follows:

  • In option a, It is used to change the current directory, that's why it is wrong.
  • In option c, It is used in encoding, that's why it is wrong.
  • In option d, It is used to display the list of files, that's why it is wrong.
ACCESS MORE
EDU ACCESS
Universidad de Mexico