This question is related to files and directories in the Unix file system.
pwdat the command line gives the result:
/home/me/organisms/animals/. What would result from typing
pwdgives the same result as in 1., what could you type to list all the
.deciduoustrees in the
treesfolder, if the parent folder of
/plants/, and the parent folder of
- ls ../plants/trees/*.deciduous
- ~/organisms/plants/trees/*.deciduous ls
- ls ~/organisms/plants/trees/*.deciduous
- ../plants/trees/*.deciduous ls
- a & d
- a & c
This question tests understanding of the fact that
lsis a program run by the shell (and thus should come first) and navigation through the file system. The correct answer is f.; both a. and c. are correct. b. and d. the correct file path but ls comes last. e. suggests that what can be switched around is the order of ls and the file path, rather than showing that there are different ways to indicate the same file path.