β² 108 βΌ Folder (lemmy.world) submitted 3 years ago by Linuxmemed@lemmy.world to c/linuxmemes@lemmy.world 45 comments fedilink hide all child comments
[β] s_s@lemmy.one 13 points 3 years ago (2 children) It's a file. permalink fedilink source parent hideshow 4 child comments replies: [β] DrTeeth@lemmy.world 10 points 3 years ago (2 children) Everything is a file!! permalink fedilink source parent hideshow 4 child comments replies: [β] PixelProf@lemmy.ca 7 points 3 years ago (2 children) This mouse? Believe it or not, file. permalink fedilink source parent hideshow 4 child comments replies: [β] user224@lemmy.sdf.org 4 points 3 years ago (1 child) /dev/input/mouse0 or whatever number you may have if for some reason you have more of them. Plus the always present /dev/input/mice shared between all mouse devices. permalink fedilink source parent hideshow 2 child comments replies: [β] masterofn001@lemmy.ca 2 points 3 years ago cat /dev/input/mouse0 permalink fedilink source parent [β] iesou@lemm.ee 1 point 3 years ago Straight to file. permalink fedilink source parent [β] flambonkscious@sh.itjust.works 1 point 3 years ago (1 child) I've always enjoyed this about my pathetic attempts to get into *nix, but what are directors, then? Are they somehow a 'file' as well? Honest question - I'm just a Windows doofus permalink fedilink source parent hideshow 2 child comments replies: [β] s_s@lemmy.one 3 points 3 years ago* (last edited 3 years ago) (1 child) Logically, everything stored to disc is a file. There are no physical folds or branching on a harddrive's platter. Everything is (this is simplified) listed one at a time, end to end sequentially. A directory is just a special text file that lists all the addresses to files that are logically "inside of it". With journaling file systems (aka modern file systems), this is either replaced or superceeded by the journal. Moreso, in Linux, most things are also logically treated as files. In Windows, some settings are stored in a special database known as the registry--Linux has not. It just has text files. In windows, devices are in the device manager, in Linux, devices are just another directory. In Windows you have a special task manager to view open processes, in Linux we have /proc which is a virtual directory. Windows: user permissions are managed with the active directory application. Linux: file permissions. etc. This means, instead of using special apps to view things, you can, if so inclined, just navigate and look at files using the usual terminal. permalink fedilink source parent hideshow 2 child comments replies: [β] kaba0@programming.dev 2 points 3 years ago Though to add: many things in your file system are listed as βfilesβ in a directory, but are completely virtual with varying ways on what they do when written to/read from. (Also, linux has streams and files, not only files) E.g. /dev/null will read zeros, and discard data written to. But it has no physical backing. permalink fedilink source parent [β] avidamoeba@lemmy.ca 3 points 3 years ago The academic truth. permalink fedilink source parent
[β] DrTeeth@lemmy.world 10 points 3 years ago (2 children) Everything is a file!! permalink fedilink source parent hideshow 4 child comments replies: [β] PixelProf@lemmy.ca 7 points 3 years ago (2 children) This mouse? Believe it or not, file. permalink fedilink source parent hideshow 4 child comments replies: [β] user224@lemmy.sdf.org 4 points 3 years ago (1 child) /dev/input/mouse0 or whatever number you may have if for some reason you have more of them. Plus the always present /dev/input/mice shared between all mouse devices. permalink fedilink source parent hideshow 2 child comments replies: [β] masterofn001@lemmy.ca 2 points 3 years ago cat /dev/input/mouse0 permalink fedilink source parent [β] iesou@lemm.ee 1 point 3 years ago Straight to file. permalink fedilink source parent [β] flambonkscious@sh.itjust.works 1 point 3 years ago (1 child) I've always enjoyed this about my pathetic attempts to get into *nix, but what are directors, then? Are they somehow a 'file' as well? Honest question - I'm just a Windows doofus permalink fedilink source parent hideshow 2 child comments replies: [β] s_s@lemmy.one 3 points 3 years ago* (last edited 3 years ago) (1 child) Logically, everything stored to disc is a file. There are no physical folds or branching on a harddrive's platter. Everything is (this is simplified) listed one at a time, end to end sequentially. A directory is just a special text file that lists all the addresses to files that are logically "inside of it". With journaling file systems (aka modern file systems), this is either replaced or superceeded by the journal. Moreso, in Linux, most things are also logically treated as files. In Windows, some settings are stored in a special database known as the registry--Linux has not. It just has text files. In windows, devices are in the device manager, in Linux, devices are just another directory. In Windows you have a special task manager to view open processes, in Linux we have /proc which is a virtual directory. Windows: user permissions are managed with the active directory application. Linux: file permissions. etc. This means, instead of using special apps to view things, you can, if so inclined, just navigate and look at files using the usual terminal. permalink fedilink source parent hideshow 2 child comments replies: [β] kaba0@programming.dev 2 points 3 years ago Though to add: many things in your file system are listed as βfilesβ in a directory, but are completely virtual with varying ways on what they do when written to/read from. (Also, linux has streams and files, not only files) E.g. /dev/null will read zeros, and discard data written to. But it has no physical backing. permalink fedilink source parent
[β] PixelProf@lemmy.ca 7 points 3 years ago (2 children) This mouse? Believe it or not, file. permalink fedilink source parent hideshow 4 child comments replies: [β] user224@lemmy.sdf.org 4 points 3 years ago (1 child) /dev/input/mouse0 or whatever number you may have if for some reason you have more of them. Plus the always present /dev/input/mice shared between all mouse devices. permalink fedilink source parent hideshow 2 child comments replies: [β] masterofn001@lemmy.ca 2 points 3 years ago cat /dev/input/mouse0 permalink fedilink source parent [β] iesou@lemm.ee 1 point 3 years ago Straight to file. permalink fedilink source parent
[β] user224@lemmy.sdf.org 4 points 3 years ago (1 child) /dev/input/mouse0 or whatever number you may have if for some reason you have more of them. Plus the always present /dev/input/mice shared between all mouse devices. permalink fedilink source parent hideshow 2 child comments replies: [β] masterofn001@lemmy.ca 2 points 3 years ago cat /dev/input/mouse0 permalink fedilink source parent
[β] masterofn001@lemmy.ca 2 points 3 years ago cat /dev/input/mouse0 permalink fedilink source parent
[β] flambonkscious@sh.itjust.works 1 point 3 years ago (1 child) I've always enjoyed this about my pathetic attempts to get into *nix, but what are directors, then? Are they somehow a 'file' as well? Honest question - I'm just a Windows doofus permalink fedilink source parent hideshow 2 child comments replies: [β] s_s@lemmy.one 3 points 3 years ago* (last edited 3 years ago) (1 child) Logically, everything stored to disc is a file. There are no physical folds or branching on a harddrive's platter. Everything is (this is simplified) listed one at a time, end to end sequentially. A directory is just a special text file that lists all the addresses to files that are logically "inside of it". With journaling file systems (aka modern file systems), this is either replaced or superceeded by the journal. Moreso, in Linux, most things are also logically treated as files. In Windows, some settings are stored in a special database known as the registry--Linux has not. It just has text files. In windows, devices are in the device manager, in Linux, devices are just another directory. In Windows you have a special task manager to view open processes, in Linux we have /proc which is a virtual directory. Windows: user permissions are managed with the active directory application. Linux: file permissions. etc. This means, instead of using special apps to view things, you can, if so inclined, just navigate and look at files using the usual terminal. permalink fedilink source parent hideshow 2 child comments replies: [β] kaba0@programming.dev 2 points 3 years ago Though to add: many things in your file system are listed as βfilesβ in a directory, but are completely virtual with varying ways on what they do when written to/read from. (Also, linux has streams and files, not only files) E.g. /dev/null will read zeros, and discard data written to. But it has no physical backing. permalink fedilink source parent
[β] s_s@lemmy.one 3 points 3 years ago* (last edited 3 years ago) (1 child) Logically, everything stored to disc is a file. There are no physical folds or branching on a harddrive's platter. Everything is (this is simplified) listed one at a time, end to end sequentially. A directory is just a special text file that lists all the addresses to files that are logically "inside of it". With journaling file systems (aka modern file systems), this is either replaced or superceeded by the journal. Moreso, in Linux, most things are also logically treated as files. In Windows, some settings are stored in a special database known as the registry--Linux has not. It just has text files. In windows, devices are in the device manager, in Linux, devices are just another directory. In Windows you have a special task manager to view open processes, in Linux we have /proc which is a virtual directory. Windows: user permissions are managed with the active directory application. Linux: file permissions. etc. This means, instead of using special apps to view things, you can, if so inclined, just navigate and look at files using the usual terminal. permalink fedilink source parent hideshow 2 child comments replies: [β] kaba0@programming.dev 2 points 3 years ago Though to add: many things in your file system are listed as βfilesβ in a directory, but are completely virtual with varying ways on what they do when written to/read from. (Also, linux has streams and files, not only files) E.g. /dev/null will read zeros, and discard data written to. But it has no physical backing. permalink fedilink source parent
[β] kaba0@programming.dev 2 points 3 years ago Though to add: many things in your file system are listed as βfilesβ in a directory, but are completely virtual with varying ways on what they do when written to/read from. (Also, linux has streams and files, not only files) E.g. /dev/null will read zeros, and discard data written to. But it has no physical backing. permalink fedilink source parent