Which of the following commands will print line numbers before each line in a file?
C. cat -e
To ensure that a running process continue to execute after you log out, the process should be started with which of the following commands?
The system is having trouble and the engineer wants to bypass the usual /sbin/init start up and run /bin/sh. Which of the following is the usual way to pass this change to the kernel from the boot loader?
A. Start in runlevel 1.
B. Pass init=/bin/sh on the kernel parameter line.
C. Pass /bin/sh on the kernel parameter line.
D. Pass start=/bin/sh on the kernel parameter line.
Which of the following does the command mount -a do?
A. It mounts the floppy disk for all users.
B. It shows all mounted file systems.
C. It opens /etc/fstab to edit.
D. It mounts all file systems listed in /etc/fstab.
How can an administrator update a package only if an earlier version is currently installed on the system?
A. rpm –update rpmname
B. rpm -U rpmname
C. rpm -F rpmname
D. rpm –force rpmname
E. rpm -u rpmname
Which of the following commands will show the contents of a gzip compressed tar archive?
A. gzip archive.tgz | tar xvf –
B. tar ztf archive.tgz
C. gzip -d archive.tgz | tar tvf –
D. tar cf archive.tgz
QUESTION 97 CORRECT TEXT
A. administrator suspects that a new Ethernet card might be conflicting with another device. Which file should the administrator check within the /proc tree to learn which IRQs are being used by which kernel drivers? (Please enter only a single command and do not enter duplicate answers in this field.)
Which of the following commands can be used to instruct the init process to switch runlevels? (Select TWO).
All of the following commands will execute the bash script /usr/local/bin/runme.sh EXCEPT:
A. source /usr/local/bin/runme.sh
B. . /usr/local/bin/runme.sh
C. /bin/bash /usr/local/bin/runme.sh
E. run /usr/local/bin/runme.sh
A administrator is experimenting with a binary in /tmp/foo.d that expects its configuration file at /etc/foo.conf. The administrator does not want to save it there, but use a symbolic link to /tmp/foo.d/foo.conf instead. Which of the following commands would accomplish this?
A. ln -s /tmp/foo.d/foo.conf /etc/foo.conf
B. ln /tmp/foo.d/foo.conf /etc/foo.conf
C. ln -s /etc/foo.conf /tmp/foo.d/foo.conf
D. ln /etc/foo.conf /tmp/foo.d/foo.conf