050-720

050-720 practice questions, page 5 of 6, with answer review and explanations.

Question 21

Which file can be used to send a message to users logging in on a text console?

  1. /etc/net
  2. /etc/motd
  3. /etc/message
  4. /var/log/messages

Question 22

What is the correct syntax for mounting the second partition of the first SCSI hard disk?

  1. mount /mnt /dev/hda2
  2. mount /dev/hda2 /mnt
  3. mount /dev/sdb1 /mnt
  4. mount /mnt /dev/sdb1
  5. mount /dev/sda2 /mnt
  6. mount /mnt /dev/sda2

Question 23

Using the rsync command, you want to mirror the directories, including any hidden files and directories within /home (not the /home directory itself) to the /backup directory. Which command accomplishes this?

  1. rsync -a /home /backup
  2. rsync -a /home/. /backup
  3. rsync -a /home/* /backup
  4. rsync -a /home/? /backup

Question 24

How do you start a YaST module (for instance, the sw_single module used to install software) directly from the command line? (Choose 2.)

  1. yast sw_single
  2. yast2 sw_single
  3. yast2 -m sw_single
  4. yast --start sw_single
  5. yast2 --module sw_single

Question 25

You want to add user tux to the southpole group without changing his primary group membership. Which command do you use for this purpose?

  1. useradd -g southpole tux
  2. usermod -g southpole tux
  3. groupadd -A tux southpole
  4. groupmod -A tux southpole