Category: Linux Administration
1. What option is used with both the fdisk and parted commands to display the current partition tables? 1A. The print option is used with both the fdisk and parted commands to display the current partition tables. 2. What does the partprobe command do? 2A. The...
1. There are four types of DNS servers. Name them. 1a. The four types of DNS servers are master, slave, caching-only, and forwarding. 2. What is the difference between an A record and a PTR record? 2a. An A record translates translated hostnames to IP addresses,...
1. What port does the SMTP service run on? 1a. The SMTP service runs on TCP port 25 and pop3 service runs on 110. 2. What command is used to change the mail server from Sendmail to Postfix (useful only if you have both installed)? 2a....
1. What is the difference between an ext2 and ext3 file system? 1A. An ext3 file system has journaling built in to it, whereas the ext2 file system doesn’t. 2. What command can you use to create a file system? 2a. mkfs.ext4 3. Can you grow...
1. What is the name of the package used to install an FTP? 1a. The vsftpd package is used to install an FTP server. 2. What command can be used to easily list all the options in the FTP main config file? 2a. The grep –v...
1. What is the difference between the update (-U) and install (-i) options when using rpm to update the kernel? 1a. You should never use the –U option because it erases the prior kernel when updating. This leaves you with no fallback kernel should your system not...
1. Red Hat Enterprise Linux 5 supports LUKS encryption. True or False? 1A. False. Red Hat Enterprise Linux 6 is the only version that officially supports LUKS encryption. 2. In Red Hat Enterprise Linux 6, SELinux is set to Enforcing by default during the installation. True or...
1. Kickstart can be accomplished only by using a PXE server. True or False? 1a. False. A PXE server eases the automation process but isn’t required for kickstart installations to work. 2. What port on the firewall needs to be open for the TFTP server to work?...
1. What is the xinetd service used for? 1a. The xinetd daemon is used to control and/or run multiple system services. One example is a TFTP server. 2. Editing the /etc/xinetd.d/tftp file and enabling the service are the same as running the chkconfig tftp on command....
1. What command displays your current interfaces and IP address? 1a. ifconfig 2. What does ifconfig 172.168.1.100 netmask 255.255.255.0 eth1 do? 2a. This command sets the eth1 interface to have a static IP address of 172.168.1.100 with a netmask of 255.255.255.0. 3. What command can you...