23. The “ln -s f1 f2” command creates a hard link named f2 to the f1 file.

a) True
b) False

24. The rmdir command can be used to remove both empty and non-empty directories.
a) True
b) False

25. The following command will copy both f1.txt and f2.txt from the account home directory to the root directory (top level of Linux file system). The current directory is unknown.
a) cp ~/f1.txt ~/f2.txt /
b) cp ./f1.txt ./f2.txt /
c) cp f1.txt f2.txt root
d) cp ~/f1.txt f2.txt

26. An advantage of a relative path over an absolute path is that it is often shorter.
a) True
b) False

27. Output redirection is sending the output of one command into the input of another command:
a) True
b) False

28. The following command will copy the file f1.txt from the current location into the account home directory.
a) Copy f1.txt ~/
b) Copy f1.txt account_home_dir
c) mv f1.txt~/
d) cp f1.txt ~/

29. The cp command requires an option with used to copy folders.
a) True
b) False

30. The following command will copy all files with names that are of three characters in length.
a) cp ?*? /
b) cp * /
c) cp [any three] /
d) cp ??? /

23. False

24. False
25. a) cp ~/f1.txt ~/f2.txt /
26. True
27. False
28. d) cp f1.txt ~/
29. True
30. d) cp ??? /