1. Where are the start-up scripts defined?
etc/init.d
/etc/scripts
/etc/start
/etc/inittab
2. Which of the following file systems cannot be mounted by using the mount command?
ext2
swap
fat
ReiserFS
3. Which of the following is a file system that provides system statistics? It doesn’t contain real files but provides an interface to run-time system information.
/proc
/var
/home
/boot
4. __________ is a commonly used name for a command-line utility that provides disk partitioning functions in an operating system. It can list the partitions on a Linux system.
mkfs
parted
fdisk
format
5. What shell command will tell you the home directory, current user, and current history size?
who
whois
env
logname
6. Use the __________ command to see running processes as a tree.
7. The dmesg command can be used to see the Linux boot messages.
True
False
8. John is investigating a Linux web server. It is suspected that someone executed an SQL injection attack on this server, and John wants to look for evidence of this. He wants to start by examining the web server log. Which of the following directories should he look in to find the web server logs?
/etc
/dev
/var
/sys