In Linux, the 7 types of files are regular file (-), directory (d), symbolic link (l), character device file (c), block device file (b), named pipe (p, and socket file (s).