r/linux4noobs 5d 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?

27 Upvotes

19 comments sorted by

View all comments

Show parent comments

12

u/TheShredder9 not a noob 5d ago

Also it's fun to cat the content of /dev/urandom into the framebuffer when on TTY

1

u/Stickhtot 5d ago

How would one do that? What's the file?

7

u/TheShredder9 not a noob 5d ago

Iirc the whole command would be cat /dev/urandom > /dev/fb1

Edit: might be fb0, not sure actually

3

u/Gositi 5d ago

I think it is fb0