101-400 Exam Questions
378 real 101-400 exam questions with expert-verified answers and explanations. Page 3 of 8.
- Question #112
Which of the following commands is used to update the list of available packages when using dpkg based package management?
- Question #116
Which of the following commands overwrites the bootloader located on /dev/sda without overwriting the partition table or any data following it?
- Question #117
Which of the following commands can be used to create a USB storage media from a disk image?
- Question #118
In Bash, inserting 1>&2 after a command redirects
- Question #119
What command will generate a list of user names from /etc/passwd along with their login shell?
- Question #120
In a nested directory structure, which find command line option would be used to restrict the command to searching down a particular number of subdirectories?
- Question #121
Which of the following commands will load a kernel module along with any required dependency modules?
- Question #122
You are having some trouble with a disk partition and you need to do maintenance on this partition but your users home directories are on it and several are logged in. Which comman...
- Question #123
During a system boot cycle, what is the program that is run after the BIOS completes its tasks?
- Question #124
The message "Hard Disk Error" is displayed on the screen during Stage 1 of the GRUB boot process. What does this indicate?
- Question #125
Which configuration file should be modified to disable the ctrl-alt-delete key combination?
- Question #126
The system is having trouble and the engineer wants to bypass the usual /sbin/init start up and run /bin/sh. What is the usual way to pass this change to the kernel from your boot...
- Question #127
You want to preview where the package file, apache-xml.i386.rpm, will install its files before installing it. What command do you issue?
- Question #128
Which RPM command will output the name of the package which installed the file /etc/exports?
- Question #129
Which of the following commands can be used to enable a file for paging and swapping?
- Question #130
What command will uninstall a package but leave its configuration files in case a package is re- installed?
- Question #131
Which command is used to query information about the available packages on a Debian system?
- Question #132
The GRUB_TIMEOUT parameter specifies a timeout period when booting in what unit of time?
- Question #133
Which of the following apt-get commands will install the newest versions of all currently installed packages without removing any packages or installing new packages that are not a...
- Question #134
Which of the following commands will change all CR-LF pairs in an imported text file, userlist.txt, to Linux standard LF characters and store it as newlist.txt?
- Question #135
When should grep -F or the fgrep command be used to search the content of text files?
- Question #136
Which of the following is a limitation of the cut command?
- Question #137
In the command foo < bar | foobar, which ONE of the following statements is correct?
- Question #138
What is the default process priority when a process is started using the nice command?
- Question #139
Which of the following commands will print the first few lines of a text file to the shell?
- Question #140
Which signal is sent to a suspended process in order to have it resume execution?
- Question #142
What is the purpose of the & character at the end of a command line?
- Question #143
Which command will show you the contents of a gzip compressed tar archive?
- Question #144
What command will display all of the background tasks running in the current shell?
- Question #145
Which of the following commands will print important system information such as the kernel version and machine hardware name?
- Question #146
In bash, inserting 2>&1 after a command redirects
- Question #147
Which command will convert all tab characters in a file to spaces and print that to standard out?
- Question #148
Once a shell variable has been created, how can the variable be removed from the environment?
- Question #149
Which directory contains additional information about installed packages?
- Question #150
Which of the following commands will NOT update the Modify timestamp on the file /tmp/myfile.txt?
- Question #151
Pressing the Ctrl-C combination on the keyboard while a command is executing in the foreground sends which of following signal codes?
- Question #153
What does the + symbol mean in the following grep regular expression: grep '^d[aei]\+d$' /usr/share/dict/words
- Question #154
You have created a long letter and after you are done you notice that you used the name "Bob" many times but you forgot to capitalize it in many instances. Which command would repl...
- Question #155
When in Normal mode in vi, which command character will insert a blank line below the current cursor position and place the insert cursor at the beginning of the new line?
- Question #156
What is the effect on the grep command when the -v option is used?
- Question #157
While editing a file in vi, the file changes due to another process. Without exiting vi, how can the file be reopened for editing with the new content?
- Question #158
In order to use the output of ls to overwrite a file called bazz, which of the following command lines would you use?
- Question #159
When piping the output of find to the xargs command, what option to find is useful if the filenames have spaces in them?
- Question #160
What is the purpose of the xargs command?
- Question #161
You are experimenting with a binary in /tmp/foo.d that expects its configuration file at /etc/foo.conf. You don't want to save it there, but use a symbolic link to /tmp/foo.d/foo.c...
- Question #162
Which of the following Linux filesystems pre-allocates a fixed number of inodes at the filesystem's make/creation time, and does NOT generate them as needed?
- Question #163
You have just added a CD-ROM drive (/dev/hdd) to your system and have added it to your fstab. Typically you can use which of the following commands to mount media in that drive to...
- Question #165
What does the command mount -a do?
- Question #166
What would the following line accomplish if run as root? chown -R bert /home/bert/*
- Question #167
Which one of the following programs will only find files that are in your PATH?