What do you mean by file system UNIX? Write down the different categories of files.

8 Shares

File System In Unix:

UNIX OS use hierarchical file system structure wherein this structure all file store in a base or root directory. In UNIX, a root is at the base of a file system and other directory placed as child directory form.

UNIX file structure allows representing file or directory. In UNIX, we can display current path or present working directory with the help of PWD command.

Types of UNIX file system:

UNIX OS offers a facility to create different types of files, Binary file, Text file, Program file, Random access file and device file.

All the above file use CAT command for the creation and by default provide common permission for each file. And if you want to specify different permissions then use CH-more command.

a)Binary file:: It represents.GIF, JPG, EXE files. By default binary file generate automatically.
b)Text file:: it use “ .txt” extension to represent any file. Text file can be edited , modified or display directly.
c)Program file:: It specify shell script. It use .SH, .DSH, .C, .JAVA, .CPP extension.
d)Random access file:: It allow to access file structure or elements randomly. It create with the help of VI-editor.
e)Device/System file:: It create automatically when UNIX program install. It support internal or external commands.

8 Shares

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.