Professional Documents
Culture Documents
Answer Sheet Liunux 101-500 Test
Answer Sheet Liunux 101-500 Test
Answer Sheet Liunux 101-500 Test
Q1) Immediately after deleting 3 lines of text in vi and moving the cursor to a
different line, which single character command will insert the deleted content
below the current line?
1. d
2. b
3. i
4. p
5. x
Q2) In compliance with the FHS, in which of the directories are man pages
found?
1. /opt/man/
2. /usr/doc/
3. /usr/share/man/
4. /var/pkg/man
5. /var/man/
Q3) Which of the following files, located in a user’s home directory, contains
the Bash history?
1. .bashrc_history
2. .bash_histfile
3. .history
4. .bash_history
5. .history_bash
Q4) When the key combination Control+C is selected on the keyboard
_______________ signal is sent to a process.
1. SIGTERM
2. SIGINT
3. SIGKILL
4. SIGSTOP
5. None of these
Q5) What is the maximum niceness value that a regular user can assign to a
process with the nice command when executing a new process?
1. 9
2. 15
3. 19
4. 49
5. 99
Q6) The option applied with yum command to update the entire system, is
______________.
1. refresh
2. update
3. install
4. upgrade
5. None of these
Q7) Which program updates the database that is used by the locate
command?
1. dblocate
2. locatedb
3. dbupdate
4. updatedb
Q8) Which command uninstalls a package but keeps its configuration files in
case the package is re-installed?
1. dpkg –v pkgname
2. dpkg –r pkgname
3. dpkg –P pkgname
4. dpkg –L pkgname
Q9) What does the command mount --bind do?
1. It makes the contents of one directory available in another directory
2. It mounts all available filesystems to the current directory
3. It mounts all user mountable filesystems to the user’s home directory
4. It mounts all file systems listed in /etc/fstab which have the option
userbind set
5. It permanently mounts a regular file to a directory
Q10) Which of the following commands changes all CR-LF line breaks in the
text file userlist.txt to Linux standard LF line breaks and stores the result in
newlist.txt?
1. tr –d ‘\r’ < userlist.txt > newlist.txt
2. tr –c ‘\n\r’ ‘’ <newlist.txt> userlist.txt
3. tr ‘\r\n’ ‘’ <userlist.txt> newlist.txt
4. tr ‘\r’ ‘\n’ userlist.txt newlist.txt
5. tr –s ‘/^M/^J/’ userlist.txt newlist.txt