In which directory must definition files be placed to add additional repositories to yum?
What file in the /proc filesystem lists parameters passed from the bootloader to the kernel? (Please enter only a single command and do not enter duplicate answers in this field.)
Which of the following Debian package system commands will list all partially installed packages and suggest how to get them correctly installed?
A. dpkg -C
B. apt-get -u
C. dpkg -Dh
D. dpkg -l
E. apt-get -y
Which of the following is true when hard-linked files are present?
A. The output of stat will report "hard" instead of "regular file"
B. The hard-linked files may not be empty
C. Both files will share the same inode
D. Issuing a long directory listing with ls -l will indicate the link with "->"
E. The file permissions will be prefixed by an "h", eg. hrwxr-x-r-x
All of the following commands will update the Modify timestamp on the file /tmp/myfile.txt EXCEPT:
A. file /tmp/myfile.txt
B. echo "Hello" >/tmp/myfile.txt
C. sed -ie "s/1/2/" /tmp/myfile.txt
D. echo -n "Hello" >/tmp/myfile.txt
E. touch /tmp/myfile.txt
To allow a regular user account to mount and unmount a filesystem (for instance, a cdrom or floppy), which of the following options will need to be added to the corresponding line in /etc/fstab?
A. nouidchk
B. alluser
C. user
D. auto
Which of the following would be accomplished if the below line is run as root? chown -R bert /home/bert/*
A. Nothing, this command is invalid.
B. It would revoke bert's ownership from the home directory to root.
C. It would change user ownership of all files in /home/bert to bert.
D. It would set the group ownership of the directory /home/bert to bert.
E. It would set ownership of all files and subdirectories in /home/bert to bert.
An administrator wants to preview where the package file, apache-xml.i386.rpm, will install its files before installing it. Which of the following commands should the administrator issue?
A. rpm -qp apache-xml.i386.rpm
B. rpm -qv apache-xml.i386.rpm
C. rpm -ql apache-xml.i386.rpm
D. rpm -qpl apache-xml.i386.rpm
Which of the following commands will send output from the program myapp to both standard output (stdout) and the file file1.log?
A. cat < myapp | cat > file1.log
B. myapp 0>and1 | cat > file1.log
C. myapp | cat > file1.log
D. myapp | tee file1.log
E. tee myapp file1.log
An administrator is having some trouble with a disk partition and needs to do maintenance on this partition. The administrator's users home directories are on it and several are logged in. Which of the following commands would disconnect the users and allow the administrator to safely execute maintenance tasks?
A. telinit 1
B. shutdown -r now
C. killall -9 inetd
D. /bin/netstop --maint
E. /etc/rc.d/init.d/network stop