[amp_mcq option1=”dir” option2=”prompt $p$g” option3=”pwd” option4=”path E. None of the above” correct=”option3″]
The correct answer is C. pwd.
The pwd command is used to print the current working directory. The current working directory is the directory that you are currently in. To use the pwd command, simply type pwd at the command prompt.
The dir command is used to list the files and folders in the current directory. The prompt $p$g is a prompt that is used by some shells. The path is a list of directories that are searched for executable files.
E is not the correct answer because it is not a valid command.