Answers

  1. a. Ethernet networks have a maximum MTU of 1500. It is possible that you would want to adjust the MTU if conditions warranted. However, you will find that your Ethernet NIC's MTU will usually be 1500.

  2. b. In Sendmail, the genericstable file is responsible for rewriting headers of outgoing messages.

  3. d. Both the fsck and badblocks commands can be destructive if run against a mounted partition. You should unmount the drive before using either one. You may need to go into single mode to do so.

  4. a and c. You can use smbmount and smbclient. To draw an analogy, smbclient is something like a command-line FTP client. You can use smbclient to access a Samba share and navigate it just as you would an FTP session. The smbmount command, on the other hand, is more like the standard mount command. You must specify a mount point, unlike smbclient.

  5. mount -t nfs bentley:/home/james/mnt/nfs

  6. a. The -w option in traceroute allows you to specify the wait period.traceroute will wait five seconds by default, then move on to the next hop.

  7. b and c. You can use the dig command with the @ option to specify a different DNS server. With the host command, the second hostname given in the command specifies the name server.

  8. d. When using the ifconfig command to specify a second IP address for a NIC, simply use a colon with no space after the interface:

    ifconfig eth2:1 202.168.85.3 netmask 255.255.255.0
  9. b and d. Two reasons exist for a route command to hang: DNS service has failed, or the default gateway is down. ...

Get LPI Linux Certification in a Nutshell, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.