What I learned:
One essential thing that everyone who is fairly new to Linux heard or read statements such as "in Linux, everything is a File."
While it is true that each and everything is a file, if something is not a file then it must be as process on system. When a file is created or transferred to a system, it occupies some space on the physical disk which is considered to be in a specific format or file type. In the Linux system, files and directories are not differentiate but directories does have an important job, which is to store the other files in a group for easy location. All of the hardware components are represented as files and they system communicates with them using these files.
Different types of files:
- Ordinary Files- Files that contain text, data or program instructions. They are also the most common type of files to find on the linux system which include:
- Readable files
- Binary files
- Image files
- Compressed files
- Special Files- They transfer large blocks of data and information at a specific time.
- Block files- device files that provide buffered access to system hardware components. They are a method of communication with device drivers through the file system.
- Directories- Special files that store both ordinary and other special files. They are organized on the Linux system in a hierarchy which starts from the root directory.
Comments
Post a Comment