Seven recognized Unix filetypes

Unix recognizes 7 major filetypes. The file's type is stored in it's inode.

When a file is accessed, the Unix system uses the file's type to determine how or if the file may be accessed in the manor requested.

Regular file

Directory Symbolic link Character special Block special Named pipe