Join the discussion
Question 1/222
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: B
Add Comments
- Other Question (222q)
- Q1. Which of the following command lines creates or, in case it already exists, overwrites a f...
- Q2. After moving data to a new filesystem, how can the former path of the data be kept intact ...
- Q3. Which RPM command will output the name of the package which supplied the file /etc/exports...
- Q4. Which of the following commands will load a kernel module along with any required dependen...
- Q5. Which of the following command lines creates or, in case it already exists, overwrites a f...
- Q6. Which command is used to query information about the available packages on a Debian system...
- Q7. A user accidentally created the subdirectory \dirin his home directory. Which of the follo...
- Q8. To prevent users from being able to fill up the / partition, the ____________ directory sh...
- Q9. In compliance with the FHS, in which of the directories are man pages found?...
- Q10. What is the first program the Linux kernel starts at boot time when using System V init?...
- Q11. When starting a program with the nice command without any additional parameters, which nic...
- Q12. Which of the following commands makes /bin/foo executable by everyone but writable only by...
- Q13. FILL BLANK Which command is used to start another command with a given nice level? (Specif...
- Q14. Which RPM command will output the name of the package which supplied the file /etc/exports...
- Q15. Which of the following statements is correct regarding the command foo 1> bar?...
- Q16. Where is the bootloader stored on the hard disk of a UEFI system?...
- Q17. Which of the following shell commands makes the already defined variable TEST visible to n...
- Q18. Which of the following commands is used to modify quota settings?(Choose two.)...
- Q19. Which SysV init configuration file is commonly used to set the default run level? (Specify...
- Q20. Which of the following statements is correct for a command line ending with a & charac...
- Q21. Which of the following commands can be used to download the RPM package kernel without ins...
- Q22. The installation of a local Debian package failed due to unsatisfied dependencies. Which o...
- Q23. Given the following two symbolic links in a System V init configuration: /etc/rc1.d/K01apa...
- Q24. During a system boot cycle, what program is executed after the BIOS completes its tasks?...
- Q25. What output will be displayed when the user fredexecutes the following command? echo 'fred...
- Q26. Which of the following commands changes all CR-LF line breaks in the text file userlist.tx...
- Q27. Which umask value ensures that new directories can be read, written and listed by their ow...
- Q28. Which of the following options is used in a GRUB Legacy configuration file to define the a...
- Q29. Instead of supplying an explicit device in /etc/fstab for mounting, what other options may...
- Q30. Which of the following commands lists the dependencies of the RPM package file foo.rpm?...
- Q31. Which umask value ensures that new directories can be read, written and listed by their ow...
- Q32. FILL BLANK Which command displays the current disk space usage for all mounted file system...
- Q33. To what environment variable will you assign or append a value if you need to tell the dyn...
- Q34. In a nested directory structure, which find command line option would be used to restrict ...
- Q35. A Debian package creates several files during its installation. Which of the following com...
- Q36. The USB device filesystem can be found under /proc/______/usb/. (Please fill in the blank ...
- Q37. From a Bash shell, which of the following commands directly executes the instruction from ...
- Q38. Which of the following properties of an existing file changes when a hard link pointing to...
- Q39. Consider the following directory: drwxrwxr-x 2 root sales 4096 Jan 1 15:21 sales Which com...
- Q40. Which of the following commands list all files and directories within the /tmp/directory a...
- Q41. Which of the following commands is used to change options and positional parameters for a ...
- Q42. Which of the following commands can be used to determine how long the system has been runn...
- Q43. Which of the following describes the correct order in which the components of the system b...
- Q44. Which of the following command sets the Bash variable named TEST with the content FOO?...
- Q45. Following the Filesystem Hierarchy Standard (FHS), where should binaries that have been co...
- Q46. Which of the following files, located in the user home directory, is used to store the Bas...
- Q47. Which character, added to the end of a command, runs that command in the background as a c...
- Q48. What is the effect of the -voption for the grepcommand?...
- Q49. Which of the following commands changes all occurrences of the word "bob" in file data to ...
- Q50. Which world-writable directory should be placed on a separate partition in order to preven...
- Q51. Which of the following commands creates or, in case it already exists, overwrites a file c...
- Q52. In compliance with the FHS, in which of the following directories are documentation files ...
- Q53. What is the first program that is usually started, at boot time, by the Linux kernel when ...
- Q54. What does the + symbol mean in the following grep regular expression: grep '^d[aei]\+d$' /...
- Q55. Which command is used in a Linux environment to create a new directory? (Specify ONLY the ...
- Q56. Which of the following commands can be used to perform a full text search on all available...
- Q57. How many fields are in a syntactically correct line of /etc/fstab?...
- Q58. Consider the following directory: drwxrwxr-x 2 root sales 4096 Jan 1 15:21 sales Which com...
- Q59. Which of the following commands lists the dependencies of a given dpkg package?...
- Q60. Which file from the /proc file system contains a list of all currently mounted devices? (S...
- Q61. Pressing the Ctrl-C combination on the keyboard while a command is executing in the foregr...
- Q62. The USB device filesystem can be found under /proc/______/usb/. (Please fill in the blank ...
- Q63. What output will be displayed when the user fred executes the following command? echo 'fre...
- Q64. Which of the following commands installs the GRUB boot files into the currently active fil...
- Q65. When considering the use of hard links, what are valid reasons not to use hard links?...
- Q66. Which of the following statements describes a difference between GNU GRUB Legacy and GRUB ...
- Q67. Which of the following commands enables the setuid (suid) permission on the executable /bi...
- Q68. The /etc/_______ file lists currently mounted devices....
- Q69. Which of the following commands instructs SysVinit to reload its configuration file?...
- Q70. When running the command sed -e "s/a/b/" /tmp/file >/tmp/file While /tmp/file contains ...
- Q71. Which of the following commands overwrites the bootloader located on /dev/sda without over...
- Q72. Which of the following commands list all files and directories within the /tmp/directory a...
- Q73. What does the command grub-install /dev/sda do?...
- Q74. Which command is used to start another command with a given nice level? (Specify ONLY the ...
- Q75. Which of the following commands displays the contents of a gzip compressed tar archive? gz...
- Q76. Which of the following commands shows the definition of a given shell command?...
- Q77. Which of the following signals is sent to a process when the key combination CTRL+C is pre...
- Q78. Which file in the /proc filesystem lists parameters passed from the bootloader to the kern...
- Q79. After a power outage, the XFS file system of /dev/sda3is inconsistent. How can the existin...
- Q80. Which run levels should never be declared as the default run level when using SysV init? (...
- Q81. Which of the following commands will produce the following output? (Exhibit)...
- Q82. Which of the following shell commands makes the already defined variable TEST visible to n...
- Q83. Which signal is missing from the following command that is commonly used to instruct a dae...
- Q84. Which of the following commands will print important system information such as the kernel...
- Q85. Which of the following commands lists all currently installed packages when using RPM pack...
- Q86. Which of the following commands will reduce all consecutive spaces down to a single space?...
- Q87. What does the command mount -a do?
- Q88. Which of the following directories on a 64 bit Linux system typically contain shared libra...
- Q89. Which option to the tee command will cause the output to be concatenated on the end of the...
- Q90. After modifying GNU GRUB's configuration file, which command must be run for the changes t...
- Q91. A user accidentally created the subdirectory \dirin his home directory. Which of the follo...
- Q92. During a system boot cycle, what program is executed after the BIOS completes its tasks?...
- Q93. Which of the following commands creates or, in case it already exists, overwrites a file c...
- Q94. Which of the following command sets the Bash variable named TEST with the content FOO?...
- Q95. Which world-writable directory should be placed on a separate partition in order to preven...
- Q96. FILL BLANK Which program runs a command in specific intervals and refreshes the display of...
- Q97. What is the correct way to set the default systemd boot target to multi-user? systemctl is...
- Q98. Which of the following kernel parameters instructs the kernel to suppress most boot messag...
- Q99. When running the command sed -e "s/a/b/" /tmp/file >/tmp/file While /tmp/file contains ...
- Q100. Which of the following commands displays the path to the executable file that would be exe...
- Q101. Which of the following commands loads a kernel module along with any required dependency m...
- Q102. Which program runs a command in specific intervals and refreshes the display of the progra...
- Q103. Which of the following commands will print the last 10 lines of a text file to the standar...
- Q104. A Debian package creates several files during its installation. Which of the following com...
- Q105. Given a log file loga.log with timestamps of the format DD/MM/YYYY:hh:mm:ss, which command...
- Q106. What is the name of the main configuration file for GNU GRUB? (Specify the file name only ...
- Q107. Which of the following options must be passed to a filesystem's entry in /etc/fstab in ord...
- Q108. In the vi editor, which of the following commands will copy the current line into the vi b...
- Q109. Which of the following settings for umask ensures that new files have the default permissi...
- Q110. Which of the following commands is used to update the list of available packages when usin...
- Q111. Which of the following files, located in the user home directory, is used to store the Bas...
- Q112. In Bash, inserting 1>&2 after a command redirects...
- Q113. In the vi editor, what vi command will copy (but not paste) from the current line at the c...
- Q114. Which Bash environment variable defines in which file the user history is stored when exit...
- Q115. Which of the following commands will write a message to the terminals of all logged in use...
- Q116. Which of the following commands determines the type of a file by using a definition databa...
- Q117. After modifying GNU GRUB's configuration file, which command must be run for the changes t...
- Q118. Which variable defines the directories in which a Bash shell searches for executable comma...
- Q119. What is true regarding the configuration of yum? (Choose two.)...
- Q120. Which of the following commands print the current working directory when using a Bash shel...
- Q121. Which of the following commands display the IDs of all processes owned by root? (Choose tw...
- Q122. Which of the following properties of a Linux system should be changed when a virtual machi...
- Q123. Which of the following characters can be combined with a separator string in order to read...
- Q124. Which of the following commands changes the number of days before the ext3 filesystem on /...
- Q125. Which command must be entered before exiting vi to save the current file as filea.txt? %s ...
- Q126. Which chown command changes the ownership to dave and the group to staffon a file named da...
- Q127. When considering the use of hard links, what are valid reasons not to use hard links?...
- Q128. Which command shows all shared libraries required by a binary executable or another shared...
- Q129. When removing a package on a system using dpkg package management, which dpkgoption ensure...
- Q130. When in Normal mode in vi, which character can be used to begin a reverse search of the te...
- Q131. Which of the following commands can be used to display the inode number of a given file?...
- Q132. Which command uninstalls a package but keeps its configuration files in case the package i...
- Q133. You are trying to make a hard link to an ordinary file but ln returns an error. Which of t...
- Q134. Given the following input stream: txt1.txt atxt.txt txtB.txt Which of the following regula...
- Q135. Which of the following commands updates the linker cache of shared libraries?...
- Q136. Consider the following output from the command ls -i: (Exhibit) How would a new file named...
- Q137. What is contained on the EFI System Partition?...
- Q138. Which command displays the contents of the Kernel Ring Buffer on the command line? (Provid...
- Q139. Which of the following sequences in the vi editor saves the opened document and exits the ...
- Q140. What is the maximum niceness value that a regular user can assign to a process with the ni...
- Q141. A Debian package creates several files during its installation. Which of the following com...
- Q142. What happens after issuing the command vi without any additional parameters?...
- Q143. Which of the following commands installs all packages with a name ending with the string f...
- Q144. Which of the following commands changes the number of days before the ext3 filesystem on /...
- Q145. Which option to the tee command will cause the output to be concatenated on the end of the...
- Q146. How can the list of files that would be installed by the RPM package file apache-xml.rpm b...
- Q147. In order to display all currently mounted filesystems, which of the following commands cou...
- Q148. Which of the following directories on a 64-bit Linux system typically contain shared libra...
- Q149. Which type of filesystem is created by mkfs when it is executed with the block device name...
- Q150. FILL BLANK Which System V init configuration file is commonly used to set the default run ...
- Q151. Which of the following commands displays the path to the executable file that would be exe...
- Q152. What command changes the nice level of a running process? (Specify ONLY the command withou...
- Q153. Which shell command is used to continue background execution of a suspended command?...
- Q154. What of the following statements are true regarding /dev/ when using udev? (Choose TWO cor...
- Q155. What is the process ID number of the init process on a SysV init based system?...
- Q156. Which of the following kernel parameters instructs the kernel to suppress most boot messag...
- Q157. Which command is used to start another command with a given nice level? (Specify ONLY the ...
- Q158. When using regular expressions, which of the following characters match the beginning of a...
- Q159. Which command shows all shared libraries required by a binary executable or another shared...
- Q160. Which of the following statements is correct regarding the command foo 1> bar?...
- Q161. Instead of supplying an explicit device in /etc/fstab for mounting, what other options may...
- Q162. In compliance with the FHS, in which of the directories are man pages found? /opt/man/...
- Q163. Which command is used to create and initialize the files used to store quota information? ...
- Q164. FILL BLANK Which command is used to change the priority of an already running process? (Sp...
- Q165. Which of the following shell redirections will write standard output and standard error ou...
- Q166. Which command displays the current disk space usage for all mounted file systems? (Specify...
- Q167. What is the maximum niceness value that a regular user can assign to a process with the ni...
- Q168. Which of the following commands is used to modify quota settings? (Choose two.)...
- Q169. The system is having trouble and the engineer wants to bypass the usual /sbin/init start u...
- Q170. In the vi editor, how can commands such as moving the cursor or copying lines into the buf...
- Q171. Which of the following files exist in a standard GRUB 2 installation? (Choose two.)...
- Q172. What is the purpose of the Bash built-in export command?...
- Q173. What is the purpose of the xargs command?
- Q174. During a system boot cycle, what is the program that is run after the BIOS completes its t...
- Q175. Which of the following commands will reduce all consecutive spaces down to a single space?...
- Q176. Which of the following commands can be used to search for the executable file foo when it ...
- Q177. In order to display all currently mounted filesystems, which of the following commands cou...
- Q178. Which of the following commands print the current working directory when using a Bash shel...
- Q179. Immediately after deleting 3 lines of text in vi and moving the cursor to a different line...
- Q180. Which wildcards will match the following filenames? (Choose two.) ttyS0 ttyS1 ttyS2...
- Q181. Which of the following commands can be used to display the inode number of a given file? (...
- Q182. Which of the following commands creates an ext3 filesystem on /dev/sdb1? (Choose TWO corre...
- Q183. Which of the following commands sets the SetUID permission on the executable /bin/foo? chm...
- Q184. Which of the following commands is used to change options and positional parameters within...
- Q185. Which of the following commands can be used to download the RPM package kernel without ins...
- Q186. Which Debian package management tool asks the configuration questions for a specific alrea...
- Q187. An administrator has issued the following command: grub-install --root-directory=/custom-g...
- Q188. Which of the following are filesystems which can be used on Linux root partitions? (Choose...
- Q189. What can the Logical Volume Manager (LVM) be used for? (Choose three.)...
- Q190. What is the purpose of the xargscommand?
- Q191. FILL BLANK What directory contains configuration files for additional yum repositories? (S...
- Q192. Which is the default percentage of reserved space for the root user on new ext4 filesystem...
- Q193. Which of the following properties of a Linux system should be changed when a virtual machi...
- Q194. Which file should be edited to select the network locations from which Debian installation...
- Q195. Which of the following signals is sent to a process when the key combination Ctrl+C is pre...
- Q196. To prevent users from being able to fill up the / partition, the ____________ directory sh...
- Q197. Which of the following environment variables overrides or extends the list of directories ...
- Q198. The /etc/_______ file lists currently mounted devices....
- Q199. Typically, which top level system directory is used for files and data that change regular...
- Q200. Which of the following commands installs GRUB 2 into the master boot record on the third h...
- Q201. Which daemon handles power management events on a Linux system?...
- Q202. How many fields are in a syntactically correct line of /etc/fstab?...
- Q203. What happens after issuing the command vi without any additional parameters?...
- Q204. Which of the following vi commands deletes two lines, the current and the following line?...
- Q205. What is true regarding UEFI firmware? (Choose two.)...
- Q206. Which of the following statements are correct when comparing Linux containers with traditi...
- Q207. Which command shows all shared libraries required by a binary executable or another shared...
- Q208. While editing a file in vi, the file changes due to another process. Without exiting vi, h...
- Q209. What is true regarding the command ls > files if files does not exist?...
- Q210. Which command is used to create and initialize the files used to store quota information? ...
- Q211. Which of the following information is stored within the BIOS? (Choose TWO correct answers....
- Q212. The message "Hard Disk Error" is displayed on the screen during Stage 1 of the GRUB boot p...
- Q213. Which file from the /proc file system contains a list of all currently mounted devices? (S...
- Q214. Which of the following commands set the sticky bit for the directory /tmp? (Choose TWO cor...
- Q215. Which of the following commands redirects the output of lsto standard error? ls >-1...
- Q216. Which of the following files, located in a user's home directory, contains the Bash histor...
- Q217. When removing a package on a system using dpkg package management, which dpkgoption ensure...
- Q218. Which of the following commands lists the dependencies of the RPM package file foo.rpm?...
- Q219. Which of the following commands displays the contents of a gzip compressed tar archive?...
- Q220. Which of the following apt-get commands will install the newest versions of all currently ...
- Q221. What do the permissions -rwSr-xr-x mean for a binary file when it is executed as a command...
- Q222. The USB device filesystem can be found under /proc/______/usb/. (Please fill in the blank ...
