In linux operating system everything is a file !! I was completely shocked when I learned about this for the first time. Even your keyboard and mouse are represented as a file in linux

There are various types of files that we can see in linux operating system :

  • regular files ( text, video and audio )
  • symbolic links ( a file that points to a file )
  • named pipes ( used for interprocess communications )]
  • character device files ( hardware device that produces and receives data )
  • block device files ( hardware device that stores and loads blocks of data )
  • sockets ( used for network communications )