101-400 Exam Questions
378 real 101-400 exam questions with expert-verified answers and explanations. Page 6 of 8.
- Question #284
You want to search the file myfile for all occurances of string containing at least five characters, where character number 2 and 5 are 'a' and character number 3 is NOT 'b'. Which...
- Question #285
What does the following command do? cat '$TEST'
- Question #286
You want to the command foo to take its input from the file foobar and send its output to the program bar. Which of the following command lines will do this?
- Question #287
The command cat /proc/dma will show you what?
- Question #288
How can you turn off the group quota in /pub?
- Question #289
You installed a beta rpm package, but are experiencing some problems with it. How can you remove this package?
- Question #290
which signal sends to the background process to resume it execution?
- Question #291
which command displays the i-node information for a particular file? Answer is b)istat.
- Question #293
You are using an application that you want to appear on the screen of another machine. What environment variable would you have to set or edit to achieve this?
- Question #294
After installing and configuring Xfree86, you notice that when you start X, the display is not centered. What program can you run to find a better modeline setting?
- Question #296
You just started X for the first time and noticed that the display does not use the entire screen. What program can you use to fix this?
- Question #297
Which of the following is the default XFree86 configuration file?
- Question #298
You have just set up the Gnome Display Manager as your default display manager. What file should you edit to change the default greeting for it?
- Question #299
You are formatting a single hard disk for a Linux install. What is the maximum number of primary partitions you can create?
- Question #300
After a minor security incident you are instructed by your lead sys-admin to verify the RPM's installed on running system. Which command will create a complete report which you can...
- Question #302
You have two shell scripts, foo and bar. You wish to have bar execute if foo returns an exit status of 0 Select the correct command:
- Question #303
Which command is used to dump files in octal format?
- Question #304
You have created a really long letter and after you are done, you notice that you used the name "Bob" many times but your forgot to capitalize it in many instances. Which command w...
- Question #305
You are logged in as user tux1, but now you want to switch users to tux2 with tux2's environment. How would you do this?
- Question #306
You wish to kill a process with a PID of 123. Select the command which will allow the process to "clean up" before exiting.
- Question #307
You have read/write permission on an ordinary file foo. You have just run ln foo bar. What would happen if you ran rm foo?
- Question #308
Which command will print line numbers before each line in a file?
- Question #309
You need to create a simple hierarchy of directories: images/photos/summer/ottawa/. None of the directories on that path exists. What command will create all of the needed director...
- Question #310
While using the vi editor, you wish to move ahead one page. You should press the control key and:
- Question #311
You enter the command date +%M. Wat does the output show you?
- Question #312
When you are looking for brief information about a program in your PATH with its associated man pages, you would use ...
- Question #313
Which command will print out the attributes of the file foobar?
- Question #314
Which of the following commands will list the quota for the user foobar?
- Question #315
The command mkfs -t ext3 /dev/hdb1 -T largefile creates what size of inode?
- Question #316
In XF86Config which section is concerned with fonts?
- Question #317
You have a USB storage device that you cannot get working. You have enabled all appropriate USB options in the latest 2.2 kernel but still cannot get your device working. What is m...
- Question #319
What is a reasonable command to uninstall a Debian package from your system?
- Question #320
You want to install a new software package, but it is only available in RPM format and you are running Debian Linux. Which of the following would help you to install it on your sys...
- Question #321
You have not run apt-get on a system for some time, but it has been run on the system before. What apt-get command would you run to download the latest list of packages, but not th...
- Question #322
You want to examine the changelog for the installed package postfix. Which command will display the changelog?
- Question #325
Which Debian package system command will list all partially installed packages and suggest how to get them correctly installed?
- Question #326
Which of the following commands will produce the following output: USERPID %CPU %MEMVSZ RSS TTY STAT STARTTIME COMMAND root 1255 4.4 0.9 6071634824 tty7 Ss+ 09:25 19:04 /usr/bin/X...
- Question #327
What single command (no options or arguments) can be used to fully extract a file called abc.tar.bz2?
- Question #328
A Makefile typically contains which targets?
- Question #329
You have finished updating and resolving dependencies for some source code. What command should you run before recompiling the code into binary form?
- Question #330
What is the difference between the --remove and the--purge action with the dpkg command?
- Question #331
Which command will list all the files installed from the RPM package file named, vorbis- tools- 1.1.i386. rpm?
- Question #332
The X program _________ is often used to make minor keyboard adjustments, like proper Back space/Delete mapping.
- Question #333
Users may create and edit a configuration file in their home directory that can tell the X window system what window manager they wish it to start when they log in. What file is th...
- Question #334
The system bell sound is annoying you. Which of the following can you use to change this and other user X preferences?
- Question #337
What command line redirection characters instruct the shell to read from the current input source until a specific word, on a separate line and without and trailing spaces, is reac...
- Question #339
What is the output when the following shell script executes? Cat <<foobar Hello foobar foobar
- Question #340
Which of the following commands will display the last 30 lines of /var/log/bigd.log as well as new content as it is appended to the file by another process?
- Question #341
You wish to kill a process with a PID of 123. Select the command which will allow the process to "clean up" before exiting.
- Question #342
Which of the following commands will find the string foo in the file filel.txt, regardless of foo being in upper or lowercase letters?