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 ??? /

1 answer

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 ??? /
Similar Questions
  1. Considering the state of the Soviet Economy, it can be said that:Question 2 options: a command economy is disastrous and
    1. answers icon 1 answer
    1. answers icon 1 answer
  2. What is the purpose of the <script> element?(1 point) Responses to link CSS to HTML to link CSS to HTML to link HTML to Python
    1. answers icon 1 answer
  3. 7 of 167 of 16 Items10:34 Feature Cancer Webster's 1913 Dictionary Cancer (Page: 209) Can' cer (?), n. [L. cancer, cancri, crab,
    1. answers icon 1 answer
more similar questions