Why is /dev/null a file? Why isn’t its function implemented as a simple program?
I am trying to understanding the concept of special files on Linux. However, having a special file in /dev seems plain silly when its function could be implemented by a handful of lines in C to my knowledge.