devices communicate through input/output. this make them analogus to files. "Everything is a file" is a great abstraction. linux does this a lot. devices and files are just files. processes and threads are just tasks. directories and filenames are just paths (that's why mv renames and moves)
I find it really intuitive, like do you want some user input? Just open Standard Input. Want to write something, open standard output. Do you want a file from the network, just open it. Do you want a stream of coordinates from GPS or the trackpad, just open the file. This is especially good if your program operates on standard input and output, then it can be used in ways that you have never imagined decades after you made it.
IKR! At first, it does seem odd, but it makes sense when you consider the complexity of networking devices compared to USBs or hard drives. "Linux sticks to 'Everything is a File' but takes a unique approach for networking. Tricks like this are what make tech fun"- *said by a non-'implentist' 😅* Since many people asked❤, the next video is about: Linux networking. I will start working on it tomorrow and hopefully I publish it asap 😄 NOTE Implentist (noun created by Mohido): Someone who unfairly discriminates against or holds biases toward certain implementations of a concept, system, or technology, often based on personal preference or traditional norms. 🤣🤣🤣
you can treat anything like a file in Linux, Want to check how much memory your system is using? cat /proc/meminfo Want to see what processes are running? cat /proc/cpuinfo Want to change your hardware's settings? Just open /dev/ like it's a folder of random files, and hope you don't break anything.😅
Great video! Would love to learn more about the network devices!
I will create that one soon :)
"So you don't have to struggle as much as I did" 🗣🗣🗣🗣 my man spitting generational fire here
devices communicate through input/output. this make them analogus to files. "Everything is a file" is a great abstraction. linux does this a lot. devices and files are just files. processes and threads are just tasks. directories and filenames are just paths (that's why mv renames and moves)
I honestly love how Linux kernel work! Once you understand the Linux kernel, you start getting what a computer is and how it really works!
I find it really intuitive, like do you want some user input? Just open Standard Input. Want to write something, open standard output. Do you want a file from the network, just open it. Do you want a stream of coordinates from GPS or the trackpad, just open the file. This is especially good if your program operates on standard input and output, then it can be used in ways that you have never imagined decades after you made it.
Very informative.
Really liked the logical device part, always wondered what things like /dev/null were doing
I am more than happy that it helped you!
great content bro!
That means a lot, thank you man!🙃
"Everything is a file" helps me understand Linux very much. But I always find funny when i get return "rm: dir is a folder, not a file."
@@susugar3338 In the past, even 'cat' worked on folders.. It was pretty wild backthen lol
the part about the network devices sounds interesting, it sounds like it goes against the unix philosophy
IKR! At first, it does seem odd, but it makes sense when you consider the complexity of networking devices compared to USBs or hard drives.
"Linux sticks to 'Everything is a File' but takes a unique approach for networking. Tricks like this are what make tech fun"- *said by a non-'implentist' 😅*
Since many people asked❤, the next video is about: Linux networking. I will start working on it tomorrow and hopefully I publish it asap 😄
NOTE
Implentist (noun created by Mohido): Someone who unfairly discriminates against or holds biases toward certain implementations of a concept, system, or technology, often based on personal preference or traditional norms.
🤣🤣🤣
Great video
@@0xPanda1 thank you man! I truly appreciate your words. I will try to make the next one even better!
great video.
thank you.
Don’t mention it!
sudo mount /dev/sda1 /mnt
@Cloud67TR 'sudo mount /usr/Cloud67TR /comments'
😁
you can treat anything like a file in Linux,
Want to check how much memory your system is using? cat /proc/meminfo
Want to see what processes are running? cat /proc/cpuinfo
Want to change your hardware's settings? Just open /dev/ like it's a folder of random files, and hope you don't break anything.😅
Appreciate your this video, hope it'll be helpful for young ones
@@muhammadowais2492 thank you man for your support! It really means a lot!
linux devices is files
@@rinatpro-q1r exactly, it is weird and fun to think that way. That's why linux-ers love linux.. It's always fun 😆
German?
@@dzwassim95 nope, y the question tho?
@@MohidoTech feels like german accent
@@dzwassim95 lmao 🤣
Well, sorry to disappoint u 😅