FlashKeepers

Linux · Linux Essentials

Linux File Permissions and Ownership

File permission bits, ownership, and access control commands in Linux.

40 cards · basic cards · AI-written, checked twice. Edit anything.

Study this set free Look inside first Get FlashKeepers for iPhone
What does the read permission (r) allow on a file?
View the file contents
What does the write permission (w) allow on a file?
Modify the file
What does the execute permission (x) allow on a file?
Run the file as a program
What does read permission (r) allow on a directory?
List the directory contents
What does write permission (w) allow on a directory?
Create or delete files in the directory
What does execute permission (x) allow on a directory?
Access and enter the directory
What octal digit represents read permission?
4
What octal digit represents write permission?
2
What octal digit represents execute permission?
1
In chmod 755, what do the three digits represent in order?
Owner, group, others
What does the first character in ls -l output represent?
File type
What symbol in ls -l indicates a regular file?
A dash (-)
What symbol in ls -l indicates a directory?
The letter d
How many characters after the file type show permission bits in ls -l output?
9 characters
What do the 2nd, 3rd, and 4th characters in ls -l represent?
Owner permissions

25 more cards in the app