Topic 2, Linux Installation and Package Management
Which of the following commands overwrites the bootloader located on /dev/sda without overwriting the partition table or any data following it?
A.
dd if=/dev/zero of=/dev/sda bs=512
B.
dd if=/dev/zero of=/dev/sda bs=512 count=1
C.
dd if=/dev/zero of=/dev/sda bs=440 count=1
D.
dd if=/dev/zero of=/dev/sda bs=440
dd if=/dev/zero of=/dev/sda bs=440 count=1
To what environment variable will you assign or append a value if you need to tell the dynamic linker to look in a build directory for some of a program's shared libraries?
A.
LD_LOAD_PATH
B.
LD_LIB_PATH
C.
LD_LIBRARY_PATH
D.
LD_SHARE_PATH
E.
LD_RUN_PATH
LD_LIBRARY_PATH
What is the name of the main configuration file for GNU GRUB? (Specify the file name only without any path.)
Answer: menu.lst, grub.conf, grub.cfg
What is the difference between the -remove and the -purge action with the dpkg
command?
A.
--remove removes the program, --purge also removes the config files
B.
--remove only removes the program, --purge only removes the config files
C.
--remove removes a package, --purge also removes all packages dependent on it
D.
--remove removes only the package file itself, --purge removes all files related to the
package
--remove removes the program, --purge also removes the config files
After modifying GNU GRUB's configuration file, which command must be run for the changes to take effect?
A.
kill -HUP $(pidof grub)
B.
grub-install
C.
grub
D.
No action is required
No action is required
Page 10 out of 49 Pages |
Previous |