Management Questions and Answers
Graded A+
What is a file system?
✔✔A file system is a method and data structure that the operating system uses to manage files
on a disk or partition, determining how data is stored and retrieved.
What command is used to view disk partitions in Linux?
✔✔The command used to view disk partitions in Linux is `lsblk`.
What does the `df` command do?
✔✔The `df` command displays the amount of disk space used and available on file systems.
How can you check the file system type of a partition?
✔✔You can check the file system type of a partition using the `blkid` command or by inspecting
the `/etc/fstab` file.
What is the purpose of the `/etc/fstab` file?
1
, ✔✔The `/etc/fstab` file is used to define how disk partitions, file systems, and other storage
devices are mounted in the Linux file system.
What command is used to mount a file system?
✔✔The command used to mount a file system is `mount`.
What is the difference between hard links and symbolic links?
✔✔Hard links point to the same inode as the original file, while symbolic links are pointers to
the file name and can link to files or directories across file systems.
What is the command to create a symbolic link?
✔✔The command to create a symbolic link is `ln -s <target> <link_name>`.
What does the `mount` command do?
✔✔The `mount` command attaches a file system to a specified directory in the file hierarchy,
allowing access to the files on that file system.
How do you unmount a file system?
2