In this section, we will take a look at different types of files in linux.
There are three types of files.
Special files
are again catagorized into five other file types.
/dev
file system.keyboard
and mouse
./dev/
file system.harddisks
and RAM
The Named Pipes is a special type of file that allows connecting one process as an input to another
One way to identify a file type is by making use of the file
command.
$ file /home/michael
$ flle bash-script.sh
$ file insync1000.sock
$ file /home/michael/bash-script
Another way to identify a file type is by making use of the ls -ld
command
ls -ld /home/michael
ls -l basg-script.sh