Join the discussion
Question 25/131
Which command must be entered before exiting vi to save the current file as filea.txt?
Correct Answer: C
Add Comments
- Other Question (131q)
- Q1. Which of the following is true when a file system, which is neither listed in /etc/fstabno...
- Q2. What does the command mount -a do?
- Q3. Which of the following are modes of the vi editor? (Choose two.)...
- Q4. Which character, added to the end of a command, runs that command in the background as a c...
- Q5. Which of the following commands displays the contents of a gzip compressed tar archive?...
- Q6. Which of the following apt-get subcommands installs the newest versions of all currently i...
- Q7. Which of the following commands is used to change options and positional parameters within...
- Q8. Which of the following commands print the current working directory when using a Bash shel...
- Q9. Which program runs a command in specific intervals and refreshes the display of the progra...
- Q10. After running the command umount /mnt, the following error message is displayed: umount: /...
- Q11. A user accidentally created the subdirectory \dirin his home directory. Which of the follo...
- Q12. What command changes the nice level of a running process? (Specify ONLY the command withou...
- Q13. Given the following two symbolic links in a System V init configuration: /etc/rc1.d/K01apa...
- Q14. The system configuration file named _______ is commonly used to set the default runlevel. ...
- Q15. What do the permissions -rwSr-xr-x mean for a binary file when it is executed as a command...
- Q16. Which file should be edited to select the network locations from which Debian installation...
- Q17. What is the process ID number of the initprocess on a System V init based system?...
- Q18. In which directory must definition files be placed to add additional repositories to yum?...
- Q19. Which command displays a list of all background tasks running in the current shell? (Speci...
- Q20. How can the list of files that would be installed by the RPM package file apache-xml.rpm b...
- Q21. Which of the following commands displays the contents of a gzip compressed tar archive? gz...
- Q22. FILL BLANK Which command is used to change the priority of an already running process? (Sp...
- Q23. Which of the following commands installs the GRUB boot files into the currently active fil...
- Q24. Which of the following files are found in the /boot/file system? (Choose two.)...
- Q25. Which command must be entered before exiting vi to save the current file as filea.txt?...
- Q26. Which permissions and ownership should the file /etc/passwd have?...
- Q27. FILL BLANK Which command is used to start another command with a given nice level? (Specif...
- Q28. You suspect that a new ethernet card might be conflicting with another device. Which file ...
- Q29. How many fields are in a syntactically correct line of /etc/fstab?...
- Q30. A faulty kernel module is causing issues with a network interface card. Which of the follo...
- Q31. Which of the following commands prints a list of usernames (first column) and their primar...
- Q32. Which of the following commands will load a kernel module along with any required dependen...
- Q33. What does the command mount -a do?
- Q34. When considering the use of hard links, what are valid reasons not to use hard links?...
- Q35. A yum repository can declare sets of related packages. Which yumcommand installs all packa...
- Q36. Consider the following output from the command ls -i: (Exhibit) How would a new file named...
- Q37. Which of the following are valid stream redirection operators within Bash? (Choose two.)...
- Q38. Which of the following are valid stream redirection operators within Bash? (Choose THREE c...
- Q39. Which of the following is correct when talking about mount points?...
- Q40. What can the Logical Volume Manager (LVM) be used for? (Choose THREE correct answers.)...
- Q41. Which of the following options for the kernel's command line changes the systemd boot targ...
- Q42. Which of the following commands installs all packages with a name ending with the string f...
- Q43. When redirecting the output of findto the xargscommand, what option to findis useful if th...
- Q44. Which of the following commands determines a file's format by using a definition database ...
- Q45. Which of the following commands prints a list of available package updates when using RPM-...
- Q46. What output will be displayed when the user fredexecutes the following command? echo 'fred...
- Q47. Which of the following commands shows the definition of a given shell command?...
- Q48. FILL BLANK Which program updates the database that is used by the locatecommand? (Specify ...
- Q49. Which of the following commands display the IDs of all processes owned by root? (Choose tw...
- Q50. Which of the following are init systems used within Linux systems? (Choose THREE correct a...
- Q51. Which of the following statements is correct for a command line ending with a & charac...
- Q52. Which of the following statements is correct for a command ending with an &character?...
- Q53. What is the default action of the split command on an input file?...
- Q54. Which of the following statements are true about the boot sequence of a PC using a BIOS? (...
- Q55. Which of the following commands can be used to display the inode number of a given file? (...
- Q56. Consider the following directory: drwxrwxr-x 2 root sales 4096 Jan 1 15:21 sales Which com...
- Q57. Which of the following commands will send output from the program myapp to both standard o...
- Q58. Which umask value will result in the default access permissions of 600 (rw-------) for fil...
- Q59. Which of the following settings for umask ensures that new files have the default permissi...
- Q60. Which of the following signals is sent to a process when the key combination Ctrl+C is pre...
- Q61. From a Bash shell, which of the following commands directly execute the instructions from ...
- Q62. Which command is used to create and initialize the files used to store quota information? ...
- Q63. Which of the following commands are common Linux commands for file management? (Choose thr...
- Q64. Which program updates the database that is used by the locate command?...
- Q65. Which of the following kernel parameters instructs the kernel to suppress most boot messag...
- Q66. Which of the following commands determines the type of a file by using a definition databa...
- Q67. Which of the following commands will write a message to the terminals of all logged in use...
- Q68. Which of the following regular expressions represents a single upper-case letter?...
- Q69. Which of the following statements is correct for a command ending with an &character?...
- Q70. What is true regarding the configuration of yum? (Choose two.)...
- Q71. Which of the following commands loads a kernel module along with any required dependency m...
- Q72. Which of the following commands can be used to display the inode number of a given file? (...
- Q73. Which of the following commands print the current working directory when using a Bash shel...
- Q74. To prevent users from being able to fill up the / partition, the ____________ directory sh...
- Q75. Which of the following commands can be used to create a new file that is 100kB in size?...
- Q76. The /etc/_______ file lists currently mounted devices....
- Q77. Which of the following commands can be used to determine how long the system has been runn...
- Q78. When is the content of the kernel ring buffer reset? (Choose two.)...
- Q79. The dpkg-____ command will ask configuration questions for a specified package, just as if...
- Q80. What is the output when the regular expression s/[ABC] [abc]/xx/is applied to the followin...
- Q81. When given the following command line. echo "foo bar" | tee bar | cat Which of the followi...
- Q82. Where does the BIOS search for a bootloader?
- Q83. Which of the following commands is used to update the list of available packages when usin...
- Q84. What can the Logical Volume Manager (LVM) be used for? (Choose three.)...
- Q85. Which wildcards will match the following filenames? (Choose two.) ttyS0 ttyS1 ttyS2 ttyS[1...
- Q86. Which of the following commands redirects the output of lsto standard error? ls >-1...
- Q87. Which Debian package management tool asks the configuration questions for a specific alrea...
- Q88. Which of the following commands can be used to determine how long the system has been runn...
- Q89. Following the Filesystem Hierarchy Standard (FHS), where should binaries that have been co...
- Q90. In a nested directory structure, which find command line option would be used to restrict ...
- Q91. When piping the output of find to the xargs command, what option to find is useful if the ...
- Q92. Which of the following is the device file name for the second partition on the only SCSI d...
- Q93. Which of the following commands set the sticky bit for the directory /tmp? (Choose TWO cor...
- Q94. Which of the following files, located in the user home directory, is used to store the Bas...
- Q95. Which command displays the current disk space usage for all mounted file systems? (Specify...
- Q96. Which of the following commands changes all CR-LFline breaks in the text file userlist.txt...
- Q97. What is true regarding UEFI firmware? (Choose two.)...
- Q98. In the vi editor, what vi command will copy (but not paste) from the current line at the c...
- Q99. What does the ? symbol within regular expressions represent?...
- Q100. Which of the following commands show how the shell handles a specific command?...
- Q101. Which of the following apt-get commands will install the newest versions of all currently ...
- Q102. Which of the following apt-getsubcommands installs the newest versions of all currently in...
- Q103. What is the output of the following command? echo "Hello World" | tr -d aieou...
- Q104. Which utility would be used to change how often a filesystem check is performed on an ext2...
- Q105. Which shell command is used to continue background execution of a suspended command?...
- Q106. Which of the following shell commands makes the already defined variable TEST visible to n...
- Q107. From a Bash shell, which of the following commands directly execute the instructions from ...
- Q108. In order to display all currently mounted filesystems, which of the following commands cou...
- Q109. Which of the following commands will change the quota for a specific user?...
- Q110. A faulty kernel module is causing issues with a network interface card. Which of the follo...
- Q111. What does the + symbol mean in the following grep regular expression: grep '^d[aei]\+d$' /...
- Q112. Which grep command will print only the lines that do not end with a / in the file foo?...
- Q113. What of the following statements are true regarding /dev/ when using udev? (Choose TWO cor...
- Q114. In a nested directory structure, which find command line option would be used to restrict ...
- Q115. Which of the following files exist in a standard GRUB 2 installation? (Choose two.)...
- Q116. What is contained on the EFI System Partition?...
- Q117. Which of the following commands displays the contents of a gzip compressed tar archive?...
- Q118. The command dbmaint & was used to run dbmaintin the background. However, dbmaintis ter...
- Q119. Which of the following commands can be used to locate programs and their corresponding man...
- Q120. Which of the following commands show how the shell handles a specific command? where...
- Q121. In order to display all currently mounted filesystems, which of the following commands cou...
- Q122. Which of the following tools can show the complete path of an executable file that the cur...
- Q123. During a system boot cycle, what is the program that is run after the BIOS completes its t...
- Q124. Which of the following commands displays the path to the executable file that would be exe...
- Q125. Which of the following properties of a Linux system should be changed when a virtual machi...
- Q126. The USB device filesystem can be found under /proc/______/usb/. (Please fill in the blank ...
- Q127. Which of the following statements are correct about the initial RAM disk involved in the b...
- Q128. The installation of a local Debian package failed due to unsatisfied dependencies. Which o...
- Q129. The message "Hard Disk Error" is displayed on the screen during Stage 1 of the GRUB boot p...
- Q130. Which of the following commands is used to change options and positional parameters within...
- Q131. Given a log file loga.log with timestamps of the format DD/MM/YYYY:hh:mm:ss, which command...
