Bash, the Crucial Exams Chat Bot
AI Bot
Filesystem Management and Permissions Flashcards
CompTIA Linux+ XK0-006 (V8) Flashcards
Study our Filesystem Management and Permissions flashcards for the CompTIA Linux+ XK0-006 (V8) exam with 29+ flashcards. View as flashcards, a searchable table, or as a fun matching game.

| Front | Back |
| How do you change the group ownership of a file | Use the chgrp command |
| How do you check the permissions and ownership of a file | Use the ls -l command |
| How do you find the inode number of a file | Use the ls -i command |
| How do you list all files including hidden ones in a directory | ls -a |
| How do you move or rename a file in Linux | mv |
| How do you recursively remove a directory and its contents | rm -r directoryname |
| How do you view disk usage of a directory or file | du |
| What are the three standard permission types in Linux | Read (r), Write (w), Execute (x) |
| What command is used to create a new directory | mkdir |
| What command is used to display the current working directory | pwd |
| What command is used to unmount a filesystem | umount |
| What does "lsattr" display | Attributes of files and directories |
| What does the "noexec" mount option do | Prevents execution of binaries on the mounted filesystem |
| What does the "sync" mount option ensure | File writes are synchronized immediately to disk |
| What does the chown command do | Changes ownership of a file or directory |
| What does the command "chmod 755 file" do | Sets the file's permissions to rwxr-xr-x |
| What does the df command display | Disk space usage of mounted filesystems |
| What does the sticky bit do when set on a directory | Restricts file deletion or modification to the file owner |
| What does the umask command do | Sets default permissions for newly created files and directories |
| What is ACL in Linux filesystem management | Access Control List for finely controlling file access beyond standard permissions |
| What is the command to copy files or directories | cp |
| What is the difference between relative and absolute paths | Absolute paths start from root (/), relative paths are based on the current directory |
| What is the fstab file used for | Defines filesystems to be mounted at boot and their options |
| What is the meaning of the "x" permission for directories | Allows entering and traversal of the directory |
| What is the purpose of the chmod command | To change file or directory permissions |
| What is the purpose of the mount command | To attach filesystems onto a directory structure |
| What is the purpose of the touch command | To create an empty file or update the timestamp of a file |
| Which command can display the ACL of a file | getfacl |
| Which command is used to set an ACL on a file | setfacl |
Related Study Materials
About the Flashcards
Flashcards for the CompTIA Linux+ exam provide a concise review of Linux file and filesystem fundamentals, focusing on common commands for navigation and file management (pwd, ls, mkdir, cp, mv, rm, touch). They cover path types, listing and hidden files, and basic disk tools used to inspect space and inodes.
Designed to reinforce terminology, concepts, and key ideas tested on the exam, the deck emphasizes permissions and ownership (chmod, chown, chgrp, umask, sticky bit, r/w/x), extended controls and attributes (ACLs, setfacl/getfacl, lsattr), and mounting concepts including mount/umount, fstab entries, and mount options like noexec and sync.
Topics covered in this flashcard deck:
- File and directory commands
- Navigation and paths
- Permissions and ownership
- ACLs and file attributes
- Mounting and filesystems
- Disk usage and inodes