SIMULATION
Which option to the yum command will update the entire system? (Specify ONLY the option name without any additional parameters.)
Which SysV init configuration file should be modified to disable the ctrl-alt-delete key combination?
A. /etc/keys
B. /proc/keys
C. /etc/inittab
D. /proc/inittab
E. /etc/reboot
Which of the following kernel parameters instructs the kernel to suppress most boot messages?
A. silent
B. verbose=0
C. nomesg
D. quiet
Which of the following characters can be combined with a separator string in order to read from the current input source until the separator string, which is on a separate line and without any trailing spaces, is reached?
A. <<
B. <|
C. !<
D. and<
What is the default action of the split command on an input file?
A. It will break the file into new files of 1,024 byte pieces each.
B. It will break the file into new files of 1,000 line pieces each.
C. It will break the file into new files of 1,024 kilobyte pieces each.
D. It will break the file into new files that are no more than 5% of the size of the original file.
In the vi editor, which of the following commands will copy the current line into the vi buffer?
A. c
B. cc
C. 1c
D. yy
E. 1y
Which of the following commands creates an ext3 filesystem on /dev/sdb1? (Choose TWO correct answers.)
A. /sbin/mke2fs -j /dev/sdb1
B. /sbin/mkfs -t ext3 /dev/sdb1
C. /sbin/mkfs -c ext3 /dev/sdb1
D. /sbin/mke3fs -j /dev/sdb1
Which of the following apt-get commands will install the newest versions of all currently installed packages?
A. auto-update
B. full-upgrade
C. dist-upgrade
D. install
E. update
Which chown command will change the ownership to dave and the group to staff on a file named data.txt?
A. chown dave/staff data.txt
B. chown –u dave –g staff data.txt
C. chown --user dave --group staff data.txt
D. chown dave:staff data.txt
Which permissions and ownership should the file /etc/passwd have?
A. -rw-------1 rootroot531 Jun 5 22:45 /etc/passwd
B. -rw-r--r--1 rootroot531 Jun 5 22:45 /etc/passwd
C. -rw-r--r--1 11531 Jun 5 22:45 /etc/passwd
D. -rw-------1 11531 Jun 5 22:45 /etc/passwd