[ SRE_ARENA ]
BASIC LINUX NAVIGATION

Everything is a File. Even Your Keyboard.

System Architecture Visualization
DOWNLOADING CONCEPT: PHASE 1: THE 'EVERYTHING IS A FILE' PHILOSOPHY...
The Core Unix Concept
  • ↳In Linux, almost everything is represented as a file.
  • ↳Text documents are files.
  • ↳Directories are just files containing lists of other files.
  • ↳Your hard drive is a file (/dev/sda).
  • ↳Your keyboard is a file.
  • ↳Network sockets are files.
  • ↳Even currently running processes have their memory mapped to files!
  • ↳Because everything is a file, the same standard tools (cat, echo, grep, >) can be used to interact with literally anything in the system.
  • ↳To write a message directly to someone else's terminal screen, you can literally echo 'hello' > /dev/pts/1.
▲ LIVE INCIDENTA junior dev says 'I can't edit the nginx config file'.
sre@arena:~/linux-navigation
sre@arena:~$ ls -la /etc/nginx/nginx.conf