Everything is a file

tags: #linux

In Linux, Everything is a file even commands like cat or ls are actually programs located under /bin/cat or /bin/ls, and in other words, files.

One interesting thing is that [ itself is a file, and not a shell built-in.