/dev & device files
Në shqip: /dev dhe skedarët e pajisjeve
ShpjegimiSQ
Në /dev çdo pajisje shfaqet si skedar: /dev/sda është disku i parë, /dev/tty terminali, /dev/random një burim numrash të rastit. Programet flasin me hardware-in duke lexuar dhe shkruar te këta skedarë.
EnglishEN
In /dev every device appears as a file: /dev/sda is the first disk, /dev/tty the terminal, /dev/random a source of random numbers. Programs talk to hardware by reading and writing these files.
Si ta mendosh
Si prizat në mur: çdo pajisje ka vendin e vet ku „lidhesh“.
Lexoje në anglisht
Like wall sockets: each device has its own place to “plug into”.
Shembull kodibash
ls /dev/sd*
head -c 16 /dev/urandom | base64