The Linux Filesystem
.jpg)
Linux filesystem is used to handle the data management of the story. It manages the filename, file size, creation date and much more information about a file. The basic purpose of a filesystem is to represent and organize the system's storage resources. Pathnames It is a text string made up of one or more names separated by forward slashes. It indicates how to find something in the hierarchical file system tree. some examples: /home, /etc/passwd, etc... / is also known as root directory. Example of relative path $pwd /home/kt $cd abc $pwd /home/kt/abc Example of absolute path $pwd /home/kt $cd /home/kt/abc $pwd /home/kt/abc File types in Linux: Regular or ordinary files: stores data of various content types such as text, audio, video, images, scripts, and programs. Directories: It is a binary file used to track and locate other files and directories. Special files: Character device and block device file: Exposes device as a file in the file system. A special file prov...