101-400 Exam Questions
378 real 101-400 exam questions with expert-verified answers and explanations. Page 7 of 8.
- Question #343
The command used to determine a file's type is
- Question #344
Many people like the vi text editor but the default bash command line editor recognizes emacs keystrokes. What command entered into abash initialization file will have bash recogni...
- Question #346
User Joseph has successfully extracted and compiled a program from source code. Installing the binaries produces errors. What is the most likely reason?
- Question #347
What RPM command would show you detailed information for a package called openssh- 3.6.i386.rpm?
- Question #348
In GRUB's configuration file you find the line Root (hd1,4) What is corresponding device name on a Linux system?
- Question #354
The message "Hard Disk Error" is displayed on the screen during Stage 1 of the GRUB boot process. What does this indicate?
- Question #356
Which of the following commands can be used to instruct the init process to switch runlevels? (Choose TWO correct answers)
- Question #357
What can the tee command be used for?
- Question #358
Which key do you press to switch to normal mode in vi?
- Question #360
Which of the following commands will replace every instance of the word list with LIST from the file myfile.txt and print the results on the screen?
- Question #362
Which of the following commands will NOT execute the bash script /usr/local/bin/runme.sh?
- Question #365
Bob accidentally created the subdirectory \bobsdir in his home directory. He tried to remove the subdirectory with the command rmdir \bobsfile only to receive the error, "No such f...
- Question #366
While editing a file in vi, you realize that you are changing the wrong file. What vi command sequence will allow you to quit without saving your changes?
- Question #367
Which command will allow an administrator to adjust the number of mounts after which an existing filesystem will be checked by e2fsck?
- Question #370
Which of the following is true when hard-linked files are present?
- Question #379
After modifying LILO's configuration file, what command should you run for the changes to take effect?
- Question #382
The file myfile.txt contains the following data: joe:x:100:100:Joe:/home/joe:/bin/bash mike:x:101:101:Mike:/home/mike:/bin/sh kevin:x:102:102:Kevin:/home/kevin:/bin/sh matt:x:103:1...
- Question #383
Which TWO runlevels should never be declared as the default runlevel?
- Question #384
After modifying GRUB's configuration file, what command should you run for the changes to take effect?
- Question #385
You are trying to make a hard link to an ordinary file but ln returns an error. Which of the following could cause this?
- Question #388
When in Normal mode in vi, which command character can be used to begin a reverse search of the text?
- Question #389
To ensure that a running process continues to execute after you log out, the process should be started with what command?
- Question #390
Which signal is sent by the kill command by default?
- Question #391
What is the purpose of the Bash built-in export command?
- Question #392
Given the following output: prompt> myapp [1]+ Stopped myapp prompt> Which of the following commands will resume executing the stopped process and make it the current job?
- Question #394
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 #395
Which of the following statements is a TRUE difference between GRUB Legacy and GRUB 2?
- Question #396
Which of the following commands can be used to perform a full text search on all available packages on a Debian system?
- Question #398
What effect does the sticky bit have when set on a directory?
- Question #399
Identify the proper device for the third partition on the only SCSI drive on the system.
- Question #402
What is the purpose of the xargs command?
- Question #403
You are writing text in vi. Now you want to save your changes and exit. Which TWO sequence of inputs will accomplish this?
- Question #404
Which option to the tee command will cause the output to be concatenated on the end of the output file instead of overwriting the existing file contents?
- Question #406
Which of the following commands are common Linux commands for file management? (Choose three correct answers.)
- Question #407
Which of the following examples for Bash file globbing matches a file named root-can-do-this.txt when used in the directory holding that file? (Choose three correct answers.)
- Question #408
Which option to the tee command will cause the output to be concatenated on the end of the output file instead of overwriting the existing file contents?
- Question #409
What is the purpose of the xargs command?
- Question #410
Which of the following commands can be used to create a new file that is 100kB in size?
- Question #411
When using regular expressions, which of the following characters match the beginning of a line?
- Question #412
Which of the following statements is correct for a command line ending with a & character?
- Question #413
Which of the following commands will produce the following output?
- Question #414
Which of the following commands print the current working directory when using a Bash shell? (Choose two.)
- Question #415
Which signal is sent by the kill command by default?
- Question #416
Which of the following command lines creates or, in case it already exists, overwrites a file called data with the output of ls?
- Question #417
Which of the following commands will print important system information such as the kernel version and machine hardware architecture?
- Question #418
In Bash, inserting 2>&1 after a command redirects:
- Question #420
Pressing the Ctrl-C combination on the keyboard while a command is executing in the foreground sends which of the following signal codes?
- Question #421
Which of the following are modes of the vi editor? (Choose two.)
- Question #422
Which of the following shell commands makes the already defined variable TEST visible to new child processes? (Choose two.)
- Question #423
Which of the following commands changes all occurrences of the word "bob" in file data to "Bob" and prints the result to standard output?