101-350 Exam Questions
109 real 101-350 exam questions with expert-verified answers and explanations. Page 2 of 3.
- Question #67
What does the + symbol mean in the following grep regular expression: grep '^d[aei]\+d$' /usr/share/dict/words
- Question #68
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 #69
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 #70
What is the effect on the grep command when the -v option is used?
- Question #71
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 #72
You are writing text in vi. Now you want to save your changes and exit. Which TWO sequence of inputs will accomplish this?
- Question #73
In compliance with the FHS, in which of the directories are man pages typically found?
- Question #74
In order to use the output of ls to overwrite a file called bazz, which of the following command lines would you use?
- Question #75
When piping the output of find to the xargs command, what option to find is useful if the filenames have spaces in them?
- Question #76
What is the purpose of the xargs command?
- Question #77
Which vi command will change modes so that text can be entered by typing in the keyboard?
- Question #78
Which of the following commands can be used to create a new file that is 100kB in size?
- Question #79
Which of the following commands will NOT execute the bash script /usr/local/bin/runme.sh?
- Question #80
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 #81
To ensure that a running process continues to execute after you log out, the process should be started with what command?
- Question #82
Which of the following explanations are valid reasons to run a command in the background of your shell?
- Question #84
In the vi editor, which of the following commands will copy the current line into the vi buffer?
- Question #87
What does the ? symbol mean in the following grep regular expression: grep '^d[aei]\?d$' /usr/share/dict/words
- Question #88
Which of the following sed commands will replace all instances of the string foo with the string foobar changing the file file1.txt in place?
- Question #89
When in Normal mode in vi, which command character can be used to begin a reverse search of the text?
- Question #90
Which of the following commands will print the amount of disk space used by files specified on the command line?
- Question #91
Which command can be used to display the inode number of a given file?
- Question #93
What does the command mount -a do?
- Question #95
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 #96
Identify the proper device for the third partition on the only SCSI drive on the system.
- Question #98
Which of the following commands enables the setuid (suid) permission on the executable called /bin/foo?
- Question #99
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 #100
Which of the following commands will print the inode usage on each mounted filesystem?
- Question #101
Instead of supplying an explicit device in /etc/fstab for mounting, what other options may be used to identify the intended partition? (Select TWO correct answers)
- Question #102
Identify the proper device for the second partition on the only SCSI drive on the system.
- Question #103
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 #104
Which command will allow an administrator to adjust the number of mounts after which an existing filesystem will be checked by e2fsck?
- Question #106
What effect does the sticky bit have when set on a directory?
- Question #107
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 #108
Which utility would you use to change how often a filesystem check is performed on an EXT2 filesystem (without losing any data stored on that filesystem)?
- Question #109
Which of the following commands is run last during boot on a system with quotas enabled?
- Question #111
After running the command umount /mnt, the following error message is displayed: umount: /mnt: device is busy. What is a common reason for this message?
- Question #112
Which command will create an ext3 filesystem on /dev/hda2?
- Question #113
What does the Filesystem Hierarchy Standard enable? (Select TWO answers)
- Question #115
To allow a regular user account to mount and unmount a filesystem (for instance, a cdrom or floppy), which option will need to be added to the corresponding line in /etc/fstab?
- Question #117
Which of the following commands can be used to locate programs and their corresponding man pages and configuration files?
- Question #118
Which of the following is true when hard-linked files are present?
- Question #119
Select the line that best represents what permissions the /etc/passwd file should have.
- Question #120
Which chown command will change the ownership to dave and the group to staff on a file named data.txt?
- Question #121
You want the default permissions for your files to be -rw-r-----. Which is the most useful setting for umask below?
- Question #122
What command line will create the user falco with home directory assigned to the group users as primary group?
- Question #123
When a new user is added, where does his user ID gets stored?
- Question #124
Which of the following commands can be used to change both the owner AND group settings of a file?
- Question #125
You enter the command date +%M. Wat does the output show you?
- Question #126
When you are looking for brief information about a program in your PATH with its associated man pages, you would use ...