In Unix systems, there are 6 file types. Below I will give a very short description of each.
How to find out the type of file in Unix
The first and most obvious way to confirm the type of a particular file is to use the long-format output of ls command, invoked by the -l option:
$ ls -l * -rw-r--r-- 1 greys greys 1024 Mar 29 06:31 text