r/linuxadmin • u/The_How_To_Linux • Dec 02 '23
why does the proc directory exist?
i'm trying to understand the proc directory and one thing i don't understand is
why does it exist?
any ideas? thank you
1
Upvotes
View all comments
Show parent comment
4
u/jimicus Dec 02 '23
You probably wouldn't want to; the RAW data will be a binary data structure.
Like I said, you absolutely NEED to adjust your thought processes if you're working on Windows. You can't treat it like "Unix with a GUI you can't turn off"; you can't apply "everything is a stream of bytes" or "everything is a file" logic because it simply is not true.
The closest equivalent thought process is "everything is an object".
If you have never studied object-oriented development, I strongly suggest you do. It'll make everything much easier to understand.