- (Exam Topic 4)
Which of the following command lines creates or, in case it already exists, overwrites a file called data with the output of ls?
Correct Answer:
C
- (Exam Topic 4)
When piping the output of find to the xargs command, what option to find is useful if the filenames have spaces in them?
Correct Answer:
B
- (Exam Topic 4)
Which SysV init configuration file is commonly used to set the default run level? (Specify the full name of the file, including path.)
Solution:
inittab
Does this meet the goal?
Correct Answer:
A
- (Exam Topic 4)
Which command is used to start another command with a given nice level? (Specify ONLY the command without any path or parameters.)
Solution:
nice
Does this meet the goal?
Correct Answer:
A
- (Exam Topic 2)
Which command will disable swapping on a device? (Specify ONLY the command without any path or parameters.)
Solution:
swapoff, /sbin/swapoff
Does this meet the goal?
Correct Answer:
A