LPIC-1 (Linux Administrator) 104.5 Manage file permissions and ownership Candidates should be able to control file access through the proper use of permissions and ownership. Some questions taken from this blog: https://www.certificationmethods.com/2023/05/lpi-e-umask-control.html Practice Test Questions 1. Which of the following statements best describes the purpose of the "umask" command in Linux? a) It displays the current system time. b) It sets the permissions for a file or directory when it is created. c) It changes the ownership of a file or directory. d) It lists all the files and directories in a given directory. /* --------------------- */ -------------------------- Answer 1 Below: -------------------------- /* --------------------- */ Explanation: It sets the permissions for a file or directory when it is created. The umask command allows you to determine the default permissions that are subtracted from the maximum allowable default permiss...
I am Darian Ross. Welcome to my blogger site.