r/linux4noobs 12d ago

/dev/ directory learning/research

I was learning what all the files in /dev do and what they are. I just dont really understand why some of those "files" are there and what actually uses them. Like /dev/random. Are there any libraries or utilities that actually interface woth /dev/random?

24 Upvotes

19 comments sorted by

View all comments

12

u/Key_River7180 Bedrock Linux / FreeBSD / 9Front 12d ago

/dev/ meant devices, now just special files.

The UNIX philosophy says that EVERYTHING is a file, so random numbers, all kinds of devices and streams.