Exercises

File Permissions in Linux

Test your understanding of Linux file permissions with this quiz on chmod, chown, rwx notation, numeric permission modes, file ownership, groups, directories, and sticky bits. Explore how permissions control read, write, and execute access for users, groups, and others. Questions cover commands for changing permissions and ownership, the meaning of 644, directory file-type symbols, removing group execute access, and how the sticky bit protects files in shared directories. Ideal for Linux beginners, system administrators, and anyone building command-line skills.

Answer the questions below and check the explanation for each answer.

0/8 answered

  1. 1

    Which command changes the permissions of a file or directory?

  2. 2

    What does 'rwx' stand for in Linux file permissions?

  3. 3

    Who are the file permissions applied to when setting 'u=rwx'?

  4. 4

    Which symbol represents the file type as a directory in Linux permissions?

  5. 5

    To remove execute permissions for the group, which command should be used?

  6. 6

    What does the permission '644' mean in a Linux system?

  7. 7

    In the command 'chown user:group filename', what does 'user:group' represent?

  8. 8

    What is the effect of setting a 'sticky bit' on a directory?

Download the App now to have access to + 5000 free courses, exercises, certificates and lots of content without paying anything!

  • 100% free online courses from start to finish

    Thousands of online courses in video, ebooks and audiobooks.

  • More than 60 thousand free exercises

    To test your knowledge during online courses

  • Valid free Digital Certificate with QR Code

    Generated directly from your cell phone's photo gallery and sent to your email

Cursa app on the ebook screen, the video course screen and the course exercises screen, plus the course completion certificate