1. To lock an account, you can use the usermod command with the ____ option.
2. To define an additional field in datasheet view, tap or click the ____ column heading.
3. To create or edit a user cron table, you can use the ____ option to the crontab command.
4. Every computer contains a(n) ____ to send and receive data from other computers over a network.
5. ____________ is a script or a tool that obtains privileges of a root?
6. ____ components define the file system on unix/linux.
7. When using the chmod command, the mode rwx can be represented by the number ____.
8. Unix and linux are operating systems designed to run on ________.
9. To send a print job to a printer, you must first use the ____ command and specify what to print.
10. The _______ command will print a list of the commands that you've previously executed.
11. You can redirect a file to the standard input of a command using the ____ metacharacter.
12. To search all man pages? name sections for the keyword less, you would type ______________ less.
13. The bind documentation consist of ____ chapters.
14. The ______________ command can be used to see network interfaces.
15. The ____ metacharacter indicates background command execution.
16. The ____ is the prompt symbol traditionally associated with ordinary users.
17. Stephen bourne at at&t bell labs developed the ____ shell as the first unix command processor.
18. After performing a search, you can use the ____ key to return to a previously found match:
19. When you start vim, you are in ____ mode automatically.
20. The ____ command prints a listing of environment and configuration variables.
21. You want to extract the contents from an rpm package. Which command do you use?You want to extract the contents from an rpm package. Which command do you use?
22. What is the difference between the apt remove and apt autoremove commands?What is the difference between the apt remove and apt autoremove commands?
23. The object that systemd uses to manage services is called a _ file.
24. Which statement about default ACLs is true?
25. What is the first step to integrate extended globs into your command-line workflow?
26. Which of these features is missing from the Bash Language?
27. Typing systemctl enable crond does what to the crond service?
28. Using alternation in a POSIX-extended regular expression, which numbers would this pattern match? ^(([0-9][0-9]?)|(2[0-9][0-9]))$
29. What would be in out.txt?
30. What is the difference between reading the list of disk partitions from /proc/partitions and getting it using fdisk -l?
31. With GNU tools such as a GNU grep, awk, and sed, what is the difference between basic regular expressions (BREs) and extended regular expressions (EREs)?
32. When installing a downloaded package on the RedHat-based distribution manual using RPM, what may you have to do first?
33. What do you need to do before you can perform SSH passwordless logins?
34. What is the purpose of a Mail Transport Agent (MTA)?
35. Journald differs from traditional logging services such as rsyslogd and syslogd because its logs are _ by default.
36. What is the difference between using = and == in a BASH double square bracket if conditional? n (==) checks equality.
37. To permanently add NAT to the default zone using firewalld, you would use which command string?
38. To run CGI scripts with Apache, you need to _.
39. Using backreferences in a POSIX regular expression, which word would this pattern match? (ss).*\1
40. What is the difference between these two lines of code? echo "data" | tee -a file.txt echo "data" >> file.txt
41. What is the difference the == and =~ comparison operators when used in BASH double square bracket if conditionals?
42. What tool Should you use to replace a physical volum in LVM?
43. What is the command to create an associative array in Bash?
44. What is the difference between the whoami and logname commands?
45. Most commands that support SELinux use which option to display SELinux security context?
46. What will not happen if you run the make command without parameters?
47. Which choice is a Network Manager tool used to configure network connections from the GUI?
48. An rsyslogd filter determines which items in a log file to act on. What is it made up of?
49. Which option would you choose to force grep to use a basic regular expression (BRE)?
50. What issue might a user have when they mount a filesystem by partition path such as /dev/sdal in the /etc/fstab file?
51. Using a systemd-based distribution, you want to restrict the cron service from running either automatically or manually. Which command would you run?
52. What will this command print? echo "Thu Jun 4 15:45:45 PDT 2020" | cut -f3 -d" "
53. As root, you set execute permissions for user, group, and other on a directory. Now users can do what?
54. How does TCP Wrappers differ from a firewall?
55. When would this system cron job run its task? 0 22 * * 1-5
56. To elevate privileges using the sudo command, a user must _.
57. What would happen if you have a script file named script that takes a long time to complete, and you type nohup ./script & in the command line?
58. With most GNU commands, if an option is a word, what will it be preceded by?
59. You can set Linux group passwords using which command?
60. What would you type to list all systemd service unit files, whether they are enabled or not?
61. To change the priority of multiple swap partitions, which file would you edit?
62. What does this command string do? find / -size -10K -exec ls -l {} \;
63. Which kernel module do you need to load to use interface bonding?
64. What would this sed command do? sed -E 's/[a-Z]{4}/(&)/' textfile.txt
65. Extending an LVM volume group does what to the formatted filesystem?
66. Why might would you use the usermod command ?
67. What is the job of the NetworkManager daemon?
68. To search from the current cursor position up to the beginning of the file using VIM, type _ and then the search criteria.
69. To configure the Kerberos client, which command should you use to import the keytab file?
70. When configuring a Samba share, how would the engineering group be specified in the smb.conf?
71. In an extended regular expression, you would use (pattern){3} to match three instances of the pattern. How would you match the same thing with an extended glob?
72. What is the /etc/hosts file used for?
73. You send an email to a remote client using the following syntax. What will be in the body of the email?
74. What NFS option allows the root user to access NFS shares as the root user?
75. What is not inherited by child process?
76. To remove all ACLs from a directory , use setfacl with which options?
77. What is one major difference between brace expansion and globs?
78. What is a major advantage of using Logical Volume Management (LVM)?
79. When a user deletes a file using the rm command, Linux will _.
80. Why is the passwd command able to modify the /etc/passwd file?
81. In the Bash shell, what is the difference between piping into | and piping into |&?
82. Why doesn't passwd -l keep a user from logging in via other methods?
83. You are managing an Apache web server on a system using SELinux. By default it cannot read personal webpages in users' home directories. What SELinux boolean would you set to allow this?
84. Ifconfig has been deprecated. What command is now recommended for changing IP addresses in the live config?
85. When would this system cron job run its task? 0 1 \* \* \*
86. What command would you use to resize an LVM volume group to include an additional physical volume?
87. In a systemd-based OS, you can change the system hostname by editing /etc/hostname manually and then doing what?
88. When archiving files, which command will preserve all file attributes including ACLs and SELinux security context?
89. What character class is equal to this set? [0-9]
90. Packages can be downloaded but not installed with yum or dnf by specifying which option?
91. Assume the variable myNumber holds a string consisting of 10 digits. What will this command output? echo \$myNumber | sed -e 's/^[[:digit:]][[:digit:]][[:digit:]]/(&)/g'
92. What does the /etc/nsswitch.conf file manage?
93. What is the key difference between a redirect (>) and piping to the tee command?
94. A backup drive was created using dd to make a bit-for-bit copy. When the drive is inserted into an iSCSI target before it is booted up, the data appears to be missing. What happened?
95. What command is used to determine the amount of disk usage for a directory?
96. The ssh-copy-id command copies _ to the remote host.
97. Which command in Bash executes the last line in the shell history that starts with ls?
98. What would this command output? ps -e --format uid,pid,ppid,%cpu,cmd
99. You want to resolve a long list of DNS names using dig. What should you do?
100. How would you describe PCP (Performance Co-Pilot)?
Microsoft MVC Framework
Microsoft SQL Server
Microsoft Silverlight
MongoDB
Networking
OOPS Concepts
Related MCQ's