In this context, we shall look into how to use chmod to change the permissions of files and directories in Ubuntu 04 1 Viewing system file Permissions To view the permissions for a file, use the command $ ls –l The first character identifies if it's a file () or a directory (d) Next is the permissionsDirectory Permissions The chmod command can also be used to control the access permissions for directories Again, we can use the octal notation to set permissions, but the meaning of the r, w, and x attributes is different r Allows the contents of the directory to be listed if the x attribute is also set; Linux chmod command is one of the most commonly used commands especially by system administrators when assigning modifying file and folder permissions It's usually used when installing and configuring various services and features in a Linux system Linux Commands Cheat Sheet Linux Training Academy Linux chmod permissions table