this post was submitted on 11 Jul 2023
1539 points (98.7% liked)

linuxmemes

21282 readers
1191 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.
  •  

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't fork-bomb your computer.

    founded 1 year ago
    MODERATORS
     
    you are viewing a single comment's thread
    view the rest of the comments
    [–] avidamoeba@lemmy.ca 94 points 1 year ago* (last edited 1 year ago) (11 children)

    So tell me, what do you call the object drawn in this picture, taken from a popular Linux operating system?

    A picture of a folder icon from Ubuntu

    Say my name.

    [–] raresbears@iusearchlinux.fyi 101 points 1 year ago (1 children)
    [–] avidamoeba@lemmy.ca 7 points 1 year ago

    The ugly truth.

    [–] s_s@lemmy.one 66 points 1 year ago (2 children)
    [–] DrTeeth@lemmy.world 51 points 1 year ago (2 children)
    [–] PixelProf@lemmy.ca 46 points 1 year ago (3 children)

    This mouse? Believe it or not, file.

    [–] user224@lemmy.sdf.org 22 points 1 year ago (1 children)

    /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.

    [–] masterofn001@lemmy.ca 4 points 1 year ago

    cat /dev/input/mouse0

    [–] Alatain@lemmy.world 4 points 1 year ago

    Computer mouse or live mouse? Yes

    [–] iesou@lemm.ee 3 points 1 year ago

    Straight to file.

    [–] flambonkscious@sh.itjust.works 7 points 1 year ago (2 children)

    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

    [–] SanndyTheManndy@lemmy.world 10 points 1 year ago

    you are correct, directories are 4kb files

    [–] s_s@lemmy.one 7 points 1 year ago* (last edited 1 year ago) (1 children)

    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.

    [–] kaba0@programming.dev 3 points 1 year 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.

    [–] avidamoeba@lemmy.ca 7 points 1 year ago

    The academic truth.

    [–] leo@sh.itjust.works 13 points 1 year ago

    Hängeregister.

    And I think that's beautiful.

    [–] RGB3x3@lemmy.world 12 points 1 year ago

    𝒟𝒾𝓇𝑒𝒸𝓉𝑜𝓇𝓎

    [–] croobat@lemmy.world 7 points 1 year ago

    ... You are a folder.

    [–] over_clox@lemmy.world 6 points 1 year ago

    This is an array of pretty pixels laid out in a fashion to appeal to the human eyes.

    [–] Alfi@lemmy.alfi.casa 6 points 1 year ago (1 children)
    [–] avidamoeba@lemmy.ca 19 points 1 year ago* (last edited 1 year ago) (3 children)

    OK, I see you're having some trouble. No sweat. We're all friends here. Many of us don't get it on the first try. Let me help you. It's a symbolic representation of an actual physical object which you can buy here today. There's a nice description at the store page with the following pic along with it:

    [–] sorrybookbroke@sh.itjust.works 16 points 1 year ago

    Oh shit when did they start selling directory themed novalty gifts?

    [–] peopleproblems@lemmy.world 10 points 1 year ago

    OH it's a PATH!

    [–] shotgun_crab@lemmy.world 9 points 1 year ago (1 children)

    You wouldn't download a folder

    [–] tool@r.rosettast0ned.com 3 points 1 year ago

    You wouldn't download a folder

    The fuck I wouldn't! I'm gonna do it now out of spite!

    [–] squilox@lemm.ee 5 points 1 year ago

    I call them icons

    [–] samsy@feddit.de 5 points 1 year ago

    I call them yaru-icons. Just for all my Linux buddies without ubuntu.

    [–] RGB3x3@lemmy.world 1 points 1 year ago

    𝒟𝒾𝓇𝑒𝒸𝓉𝑜𝓇𝓎