The Unix File System has the job of maintain all the data which is stored in the
computer. The data which is maintained includes programs, documents, databases, and
textfiles. A file in Unix basically refers to the source of input or target of output,
not just the place where the data is saved. The file itself can be read or be written on
to. The Unix File System consists of three types of Unix files, text and binary files,
directories and subdirectories, and special more specific directories.
The three main types of Unix Files are ordinary files, directories, and special
files. The ordinary file is just something which contains data which can be stored into
the computer or something that can be written on. These are the more common files in
which the user works with on a daily basis. The second file is a directory. The
directory hold information that is used to organized and helps you access other files.
The directory is stored on a disk and you don't create the directory yourself it is made
for you and Unix does all the work. The last type of file is a special file or device
file. This is a internal representation of a physical device. This file helps you send
data using things like the keyboard, the screen, the printer, or the disk drive.
Ordinary files are divided into two different categories: text files or binary
files. Text files are the ones that contain letters in which you can read. Text files
hold documents, memos, shell scripts, and notes. Binary files on the other hand are just
number primarily the number '1' or '0'. These files contain non-textual data like
pictures. Binary files start to make sense when they are processed by a program. The
distinction between the text file and the binary file is when you can display the text
file without having to using a program to process it for the user.
In the real world or on the computer we use directories... Continues...