Wednesday, October 29, 2014

Types Of Files In Linux

In Linux all information is treated as a file. So , Besides user's program files and data files, there are also special files such as those that contain information about directory contents of the various input/output devices connected to the system, In Linux Device is also treated as a file and all the information going to say the VDU(Visual Display Unit) is treated as if it ware being sent to a file. In Linux  There are  3 categories of files.

  • Ordinary Files
  • Directory Files
  • Special Files

Ordinary Files


All the Files created by an user come under this category of files. These include 
All the data files
Program files
Object Files
Executable Files

A user can Make changes to this kind of files.


Directory Files


Linux automatically creates a directory file when a directory is created. This file has the same name as the Directory, and  contains information about the files under the directory.For Example , for the directory   /home/asela, There will be a directory file called asela in the directory,/home which contains information on all the files and directories under the directory, asela . A Directory file cannot be modified by a user but is, instead ,modified automatically by the System when a new file or a sub-directory is added to the directory.


Special Files 


I will Explain it in Next Post


http://lionsit.blogspot.com/2014/10/types-of-files-in-linux-2.html











0 comments: