Question 16
Selectable Answer
Which of the following commands will reduce all consecutive spaces down to a single space?
Show Answer
Answer:
Question 17
Selectable Answer
Which of the following shell commands makes the already defined variable TEST visible to new child processes? (Choose two.)
Show Answer
Answer:
Question 18
Selectable Answer
Which of the following file permissions belong to a symbolic link?
Show Answer
Answer:
Question 19
Written Answer
CORRECT TEXT
Which command is used in a Linux environment to create a new directory? (Specify ONLY the command without any path or parameters.)
Show Answer
Answer: mkdir, /usr/bin/mkdir
Question 20
Selectable Answer
Which of the following pieces of information of an existing file is changed when a hard link pointing to that file is created?
Show Answer
Answer:
Question 21
Selectable Answer
After modifying GNU GRUB's configuration file, which command must be run for the changes to take effect?
Show Answer
Answer:
Question 22
Selectable Answer
Which of the following commands is used to change metadata and options for ext3 filesystems?
Show Answer
Answer:
Question 23
Selectable Answer
Which of the following vi commands deletes two lines, the current and the following line?
Show Answer
Answer:
Question 24
Selectable Answer
Which of the following commands will print important system information such as the kernel version and machine hardware architecture?
Show Answer
Answer:
Question 25
Written Answer
CORRECT TEXT
Which command will disable swapping on a device? (Specify ONLY the command without any path or parameters.)
Show Answer
Answer: swapoff, /sbin/swapoff
Question 26
Selectable Answer
Which of the following commands changes the ownership of file.txt to the user dan and the group staff?
Show Answer
Answer:
Question 27
Selectable Answer
When removing a package, which of the following dpkg options will completely remove the files including configuration files?
Show Answer
Answer:
Question 28
Selectable Answer
Which of the following commands is used to change options and positional parameters for
a running Bash?
Show Answer
Answer:
Question 29
Selectable Answer
When considering the use of hard links, what are valid reasons not to use hard links?
Show Answer
Answer:
Question 30
Selectable Answer
Which command will uninstall a package but leave its configuration files in case the package is re-installed?
Show Answer
Answer: