If all of the following files and/or symlinks exist in a SysV-init runlevel directory, which of the following will be executed first when booting the system directly into the runlevel?
A. S99lpi
B. K99lpi
C. PRE-S99lpi
D. S98lpi
E. S99a-lpi
A system with SysV-init has a service installed called apache2. Which file controls the start and stop of this service and is referenced by the various runlevel directories?
A. /etc/init.d/apache2
B. /etc/rc2.d/70apache2
C. /etc/rc2.d/apache2
D. /etc/rc2.d/apache2.start
Which option to the update-rc.d command will cause the removal of all symlinks to /etc/rcX.d/*test2 even when the script /etc/init.d/test2 still exists?
A. -d
B. -f
C. -n
D. -r
How can the label root be added to the ext2 filesystem on /dev/sda1?
A. relabel /dev/sda1 root
B. tune2fs -L root /dev/sda1
C. echo 'root' > /proc/fs/sda1/label
D. labelfs --device /dev/sda1 root
A network client has an ethernet interface (eth0) configured with an IP address in the subnet 192.168.0.0/24. This subnet has a router, with the IP address 192.168.0.1, that connects this subnet to the Internet. What needs to be done on the client to enable it to use the router as its default gateway? (Choose TWO correct answers.)
A. route add default gw 192.168.0.1 eth0
B. ifconfig eth0 defaultroute 192.168.0.1
C. ip route add default via 192.168.0.1 dev eth0
D. echo defaultroute 192.168.0.1 >> /etc/resolv.conf
E. route add defaultgw=192.168.0.1 if=eth0
A regular user, joe, has just run:
./configure andand make andand make install
to build and install a program. However, the installation fails. What could be done to install the program? (Choose TWO correct answers.)
A. Install the binaries manually with suinstall.
B. Run make install with root privileges.
C. Do not run ./configure in order to maintain the default configuration for correct installation.
D. Rerun ./configure with a --prefix option where the user has permissions to write.
E. Run make install_local to install into /usr/local/.
When a makefile is included in a source code package, what are commonly defined targets in the file?
A. CFLAGS, CPPFLAGS, LIBS, LDFLAGS
B. clean, install, uninstall
C. PATHS, DESTDIR, LIBS, LDFLAGS
D. prefix, exec_prefix, bindir, mandir
Which of the following commands creates a Btrfs subvolume named volume in/mnt?
A. btrfs subvolume add -n volume /mnt
B. btrfs create subvolume /mnt volume
C. btrfs-subvolume create /mnt/volume
D. btrfs subvolume new volume /mnt
E. btrfs subvolume create /mnt/volume
After installing a compiled kernel, it can not find any modules that are needed to be loaded. What make target was likely missed while installing the kernel?
Which is the main configuration file for the SystemV init process? (Specify the full name of the file, including path.)