A) A. It mounts all available filesystems onto the current directory. B) B. It shows all mounted filesystems. C) C. It mounts all user mountable filesystems for the current user. D) D. It mounts all filesystems listed in /etc/fstab which have the option auto set. E) E. It mounts all filesystems listed in /etc/fstab which have the option noauto set.
2. Which of the following commands set the sticky bit for the directory /tmp? (Choose TWO correct answers.)(Select 2answers)
A) A. chmod +s /tmp B) B. chmod +t /tmp C) C. chmod 1775 /tmp D) D. chmod 4775 /tmp E) E. chmod 2775 /tmp
3. Which of the following commands can be used to display the inode number of a given file?
A) A. inode B) B. ls C) C. ln D) D. cp
4. Which of the following commands shows the definition of a given shell command?
A) A. where B) B. stat C) C. type D) D. case
5. What do the permissions -rwSr-xr-x mean for a binary file when it is executed as a command?
A) A. The command is SetUID and it will be executed with the effective rights of the owner. B) B. The command will be executed with the effective rights of the group instead of the owner. C) C. The execute flag is not set for the owner. Therefore the SetUID flag is ignored. D) D. The command will be executed with the effective rights of the owner and group.
Leave a comment