Bash, the Crucial Exams Chat Bot
AI Bot

Filesystem Management and Permissions Flashcards

To attach filesystems onto a directory structure
What is the purpose of the mount command
What does the "sync" mount option ensure
File writes are synchronized immediately to disk
Sets the file's permissions to rwxr-xr-x
Restricts file deletion or modification to the file owner
What does the "noexec" mount option do
What command is used to create a new directory
mkdir
Prevents execution of binaries on the mounted filesystem
What does the sticky bit do when set on a directory
What does the command "chmod 755 file" do
FrontBack
How do you change the group ownership of a fileUse the chgrp command
How do you check the permissions and ownership of a fileUse the ls -l command
How do you find the inode number of a fileUse the ls -i command
How do you list all files including hidden ones in a directoryls -a
How do you move or rename a file in Linuxmv
How do you recursively remove a directory and its contentsrm -r directoryname
How do you view disk usage of a directory or filedu
What are the three standard permission types in LinuxRead (r), Write (w), Execute (x)
What command is used to create a new directorymkdir
What command is used to display the current working directorypwd
What command is used to unmount a filesystemumount
What does "lsattr" displayAttributes of files and directories
What does the "noexec" mount option doPrevents execution of binaries on the mounted filesystem
What does the "sync" mount option ensureFile writes are synchronized immediately to disk
What does the chown command doChanges ownership of a file or directory
What does the command "chmod 755 file" doSets the file's permissions to rwxr-xr-x
What does the df command displayDisk space usage of mounted filesystems
What does the sticky bit do when set on a directoryRestricts file deletion or modification to the file owner
What does the umask command doSets default permissions for newly created files and directories
What is ACL in Linux filesystem managementAccess Control List for finely controlling file access beyond standard permissions
What is the command to copy files or directoriescp
What is the difference between relative and absolute pathsAbsolute paths start from root (/), relative paths are based on the current directory
What is the fstab file used forDefines filesystems to be mounted at boot and their options
What is the meaning of the "x" permission for directoriesAllows entering and traversal of the directory
What is the purpose of the chmod commandTo change file or directory permissions
What is the purpose of the mount commandTo attach filesystems onto a directory structure
What is the purpose of the touch commandTo create an empty file or update the timestamp of a file
Which command can display the ACL of a filegetfacl
Which command is used to set an ACL on a filesetfacl
Front
What command is used to unmount a filesystem
Click the card to flip
Back
umount
Front
What is the purpose of the mount command
Back
To attach filesystems onto a directory structure
Front
Which command is used to set an ACL on a file
Back
setfacl
Front
What does the umask command do
Back
Sets default permissions for newly created files and directories
Front
How do you find the inode number of a file
Back
Use the ls -i command
Front
How do you check the permissions and ownership of a file
Back
Use the ls -l command
Front
How do you list all files including hidden ones in a directory
Back
ls -a
Front
What is ACL in Linux filesystem management
Back
Access Control List for finely controlling file access beyond standard permissions
Front
Which command can display the ACL of a file
Back
getfacl
Front
What does "lsattr" display
Back
Attributes of files and directories
Front
What is the command to copy files or directories
Back
cp
Front
What is the purpose of the touch command
Back
To create an empty file or update the timestamp of a file
Front
How do you change the group ownership of a file
Back
Use the chgrp command
Front
How do you recursively remove a directory and its contents
Back
rm -r directoryname
Front
What is the fstab file used for
Back
Defines filesystems to be mounted at boot and their options
Front
What does the "noexec" mount option do
Back
Prevents execution of binaries on the mounted filesystem
Front
How do you move or rename a file in Linux
Back
mv
Front
What does the chown command do
Back
Changes ownership of a file or directory
Front
What command is used to create a new directory
Back
mkdir
Front
What does the df command display
Back
Disk space usage of mounted filesystems
Front
What does the sticky bit do when set on a directory
Back
Restricts file deletion or modification to the file owner
Front
What does the "sync" mount option ensure
Back
File writes are synchronized immediately to disk
Front
What does the command "chmod 755 file" do
Back
Sets the file's permissions to rwxr-xr-x
Front
What is the meaning of the "x" permission for directories
Back
Allows entering and traversal of the directory
Front
What are the three standard permission types in Linux
Back
Read (r), Write (w), Execute (x)
Front
What is the purpose of the chmod command
Back
To change file or directory permissions
Front
What is the difference between relative and absolute paths
Back
Absolute paths start from root (/), relative paths are based on the current directory
Front
What command is used to display the current working directory
Back
pwd
Front
How do you view disk usage of a directory or file
Back
du
1/29
This deck focuses on managing Linux filesystems, directory structures, and permissions, including advanced topics like ACLs and ownership.
Share on...
Follow us on...