Which command (without options) would you use to display how much space is available on all partitions?
Answer : df /bin/df
You are using quota on your system. How can you see disk quota details?
Answer : A
You are experimenting with a binary in /tmp/foo.d that expects its configuration file at
/etc/foo.conf. You don't want to save it there, but use a symbolic link to /tmp/foo.d/foo.conf instead. Which command would accomplish that?
Answer : A
Explanation:
There are two types of link a. Soft link b. Hard link.
b. Soft link Can create for directory also, can span multiple partitions but available until and unless Original Files remain. Syntax for Soft link ln -s originalfile linkfile b. Hard link One separate Physical File, can't create for directory, can't span multiple file but remains the link file if original file removed.
Syntax for Hard link ln originalfile linkfile
Which of the following Linux filesystems pre-allocates a fixed number of inodes at the filesystem's make/creation time, and does NOT generate them as needed?
Answer : A
You have just added a CD-ROM drive (/dev/hdd) to your system and have added it to your fstab. Typically you can use which of the following commands to mount media in that drive to /mnt/cdrom?
Answer : D
You have written a custom tool on your local system. Following the Filesystem Hierarchy
Standard (FHS), where should you install the binaries to be available to all users on your system?
Answer : /usr/local/bin /usr/local/bin/
What does the command mount -a do?
Answer : D
What would the following line accomplish if run as root? chown -R bert /home/bert/*
Answer : E
Which one of the following programs will only find files that are in your PATH?
Answer : C
What does the Filesystem Hierarchy Standard enable? (Select TWO answers)
Answer : A,C
You want the default permissions for your files to be -rw-r----- . HOW must you set umask?
Answer : D
Which chown command will change the ownership to foo and the group to bar on a file named biglist?
Answer : C
Which of the following programs will only find files that are in your PATH?
Answer : C
Which option must be listed in /etc/fstab to activate user quotas automatically?
Answer : D
Explanation:
To implement quota in partitions, we should mount with usrquota for user quota, grpquota for group quota. Example of mounting /home using usrquota and grpquota options.
LABEL=/home /home ext3 defaults,usrquota,grpquota 1 2