CentOS 8 Linux Administration Quiz Questions and Answers

Which tar command option is used to list the files in a tape archive format?

Answer :
  • tvf

Explanation :

none

Which of the following commands can be used to copy files across systems?

Answer :
  • ftp

Explanation :

none

Which commands will give you information about how much disk space each file in the current directory uses?

Answer :
  • du

Explanation :

none

What is the minimum safe procedure for removing a USB flash drive mounted from /dev/ sdb1 at /media/usb, from a Linux computer?

Answer :
  • Type umount /media/usb, wait for the command to return and disk-activity lights to stop, and then unplug the drive.

What filesystem options might you specify in /etc/fstab to make a removable disk (USB flash drive, Zip disk, floppy disk, and so on) mountable by an ordinary user with a UID of 1000? (Select three.)

Answer :
  • user
  • users
  • owner

To access files on a USB flash drive, you type mount /dev/sdc1 /media/flash as root. Which types of filesystems will this command mount?

Answer :
  • A) Ext2fs
    B) FAT
    C) ReiserFS
    All of the above

Which of the following pieces of information can df not report?

Answer :
  • How long the filesystem has been mounted