Dir/s/f
Tree/f
Tree/s/f
Dir/f
Answer is Wrong!
Answer is Right!
The correct answer is: C. Tree/s/f
The tree
command is used to display a directory tree. The /s
option tells the tree
command to recurse into subdirectories, and the /f
option tells the tree
command to list files as well as directories.
The dir
command is used to list the
/s
option tells the dir
command to recurse into subdirectories, but the /f
option does not exist.
Therefore, the tree
command with the /s/f
options is the only command that will display the directory list including files in tree structure.