files-highlevel.md (628B)
1 +++ 2 title = 'Files' 3 +++ 4 # Files 5 6 Files: 7 - abstraction of storage device (possibly real) 8 - can read/write 9 - starts at root dir “/" 10 - absolute (/Users/user/Documents) and relative (../Documents) paths 11 12 File permissions: 13 14 - throuh bit permission tuples (read-write-execute) 15 - x for directories is something like ‘cd' 16 17 Special files: 18 19 - everything is a file (descriptor) 20 - hardware: block (disks), character (serial port) 21 - symlinks to link to other files 22 - named/anonymous FIFOS (sockets/pipes) 23 24 Pipes: 25 26 - pseudofiles for processes to communicate over FIFO channel 27 - has to be set up in advance 28 - looks like a “normal” file