Saturday, April 11, 2009

Chapter 10 Review Questions

1.) Name the two widely used software package formats for Linux, with the file system extensions used for each type and the command-line utility use to manage each.

The Red Hat Package Manger uses the .tgz file extension and the rpm command-line utility. The Debian package format uses the .deb file extension and the dpkg command-line utility.

2.) Within the system-config-packages utility, selecting details and checking a package name:

Marks the package as one that will be installed after the Update button is selected after other categories of packages have also been reviewed for possible changes.

3.) Which option of the rpm command is used to verify the cryptographic signature so you know for certain the person or organization that created a given rpm file?

--checksig or -K

4.) If you know the name of a package, you can see a list of all the files contained in that package using this command:

rpm -ql packagename

5.) If you have an rpm-format file stored on your system, and then you use the rpm command to install that software package, the rpm file will no longer be on your system. True or False?

False

6.) When querying an installed package using the -q option, you use ______; when installing an rpm file using the -U option you use ______:

The name of the package alone; the complete file name with all version numbers and file extensions.

7.) The command rpm -q packagename does the following:

Determines whether packagename is installed on the system.

8.) The volume label for a file system is:

Stored in /etc/fstab

9.) Defragmentation, the process of collecting all parts of a file into one contiguous part of a hard disk:

Is not needed in Linux because of the way ext2, ext3, and other Linux file systems arrange files.

10.) The Linux kernel is able to support multiple file system types because it uses:

A virtual file system that separates standard disk operations from the drivers that perform those operations.

11.) Which piece of information is not provided in the output when the mount command is entered with no parameters or options?

The size of each mounted file system

12.) Which of the following lists contains only commands used to learn about the status of file systems?

df, du, fsck, tune2fs, mount

13.) The ______ command is used to display the attributes assigned to a file or directory?

lsattr

14. Name two attributes that are currently supported by the ext3 file system and tow attributes that are not yet supported or are used only for developers at this time.

A, and a are currently supported. X and Z are used by developers.

15.) The Linux command used to format a Linux ext3 hard disk partition is:

mke2fs

16.) Disk quotas let you manage how much disk space a user consumes, but they must be first enabled:

On the file system where you want the quota to apply (in /etc/fstab)

17.) A mounted file system is defines as one that:

Has been included as part of the Linux directory structure.

18.) The fdisk utility is used to:

establish partitions of the correct type to hold a Linux file system.

19.) The df utility provides information about which one of the following?

File system capacity, device name, and percentage used status for each mounted file system.

20.) Describe the effect of the defaults option in a configuration line of the /etc/fstab file.

Defaults includes the following options in the configuration automatically: rw, suid, dev, exec, auto, nouser, and async.

21.) Describe the main advantage of having swap space located on a hard disk separate from the Linux data partitions.

It allows both hard drives to work at the same time and increases system performance.

22.) If you attempt to unmount a mounted file system and receive an error message, the most likely cause is:

One or more users are working in the file system.

23.) The autofs service is used to:

Permit users to access file systems that are not mounted by automatically mounting them when the user enters a configured directory (mount point).

24.) Virtual memory space to be used by the kernel must be located on a single separate partition, which can be located on the same hard disk or a different hard disk from the root file system. True of False?

False

25.) Which command is used to establish a quota for a user when disk space quotas have been enabled for a file system?

edquota

No comments: