Types of files in linux

Different types of files in Linux(Unix)-

1.Regular files or Ordinary files or ASCII files

2. Directory files
- block special files(all storage devices)ex- hard disk cd ROM,USB.
-Character special files (all I/O files) ex- key board,mouse,printe.
3.Linked files
- Soft link
- Hard link

4. Empty files
5.Socket files
6. Binary files
7.Tar files
8.cp io files
9.ZIP files
-bzip
-bunzip
-gzip
-zip
-compress

To know all the files list in long foramt
# ls -l
find the file types other than #ls

#file <filename>

- - regualr file
D - directory
b- block file
c- character file
l- lincked file
s- socket file
zip- zip file
tar- tar file.

Comments