There are three types of files in Unix:

  • Ordinary File: Files created by users to store programs and data.
  • Directory: Files that provide the mapping between names of files and the physical files.
  • Special File: Files used for the control of devices.

The “ls -ls” command will display all files information in your current directory.