this post was submitted on 11 Jul 2023
98 points (98.0% liked)

linuxmemes

21263 readers
870 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!

    founded 1 year ago
    MODERATORS
     
    top 50 comments
    sorted by: hot top controversial new old
    [–] avidamoeba@lemmy.ca 14 points 1 year ago* (last edited 1 year ago) (6 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 21 points 1 year ago (1 children)
    [–] avidamoeba@lemmy.ca 5 points 1 year ago

    The ugly truth.

    [–] s_s@lemmy.one 10 points 1 year ago (2 children)
    [–] DrTeeth@lemmy.world 8 points 1 year ago (2 children)
    [–] PixelProf@lemmy.ca 5 points 1 year ago (2 children)

    This mouse? Believe it or not, file.

    [–] user224@lemmy.sdf.org 3 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 1 points 1 year ago

    cat /dev/input/mouse0

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

    Straight to file.

    [–] flambonkscious@sh.itjust.works 1 points 1 year ago (1 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

    [–] s_s@lemmy.one 2 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 1 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 3 points 1 year ago

    The academic truth.

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

    Hängeregister.

    And I think that's beautiful.

    [–] Alfi@lemmy.alfi.casa 1 points 1 year ago (1 children)
    [–] avidamoeba@lemmy.ca 0 points 1 year ago* (last edited 1 year ago) (1 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:

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

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

    I call them icons

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

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

    [–] manitcor@lemmy.intai.tech 8 points 1 year ago

    interchange them constantly , sometimes in the same sentence and watch the rage build

    [–] xkforce@lemmy.world 6 points 1 year ago (1 children)

    Do people actually get mad over that? Why?

    [–] lp0101@lemmy.world 16 points 1 year ago (3 children)

    I feel like the only people who actually care are the type who wrap their entire personality around which OS they use

    [–] Nilz@sopuli.xyz 9 points 1 year ago (2 children)
    [–] raresbears@iusearchlinux.fyi 5 points 1 year ago* (last edited 1 year ago) (1 children)

    Arch is bloat, I use Linux from scratch (by the way)

    [–] frippa@lemmy.ml 2 points 1 year ago

    I'd just like to interject for a moment. What you're refering to as Linux, is in fact, GNU/Linux, or as I've recently taken to calling it, GNU plus Linux. Linux is not an operating system unto itself, but rather another free component of a fully functioning GNU system made useful by the GNU corelibs, shell utilities and vital system components comprising a full OS as defined by POSIX.

    Many computer users run a modified version of the GNU system every day, without realizing it. Through a peculiar turn of events, the version of GNU which is widely used today is often called Linux, and many of its users are not aware that it is basically the GNU system, developed by the GNU Project.

    There really is a Linux, and these people are using it, but it is just a part of the system they use. Linux is the kernel: the program in the system that allocates the machine's resources to the other programs that you run. The kernel is an essential part of an operating system, but useless by itself; it can only function in the context of a complete operating system. Linux is normally used in combination with the GNU operating system: the whole system is basically GNU with Linux added, or GNU/Linux. All the so-called Linux distributions are really distributions of GNU/Linux!

    [–] c0mbatbag3l@lemmy.world 2 points 1 year ago

    Damn that's a lot of Linux users tho

    [–] pineapplelover@lemm.ee 1 points 1 year ago (2 children)
    [–] CoderKat@lemm.ee 8 points 1 year ago

    "I use Linux as my operating system," I state proudly to the unkempt, bearded man. He swivels around in his desk chair with a devilish gleam in his eyes, ready to mansplain with extreme precision. "Actually", he says with a grin, "Linux is just the kernel. You use GNU+Linux!' I don't miss a beat and reply with a smirk, "I use Alpine, a distro that doesn't include the GNU coreutils, or any other GNU code. It's Linux, but it's not GNU+Linux."

    The smile quickly drops from the man's face. His body begins convulsing and he foams at the mouth and drops to the floor with a sickly thud. As he writhes around he screams "I-IT WAS COMPILED WITH GCC! THAT MEANS IT'S STILL GNU!" Coolly, I reply "If windows was compiled with gcc, would that make it GNU?" I interrupt his response with "-and work is being made on the kernel to make it more compiler-agnostic. Even you were correct, you wont be for long."

    With a sickly wheeze, the last of the man's life is ejected from his body. He lies on the floor, cold and limp. I've womansplained him to death.

    [–] grue@lemmy.ml 1 points 1 year ago (1 children)

    Fuck it, it's just GNU now. Honestly, who cares which kernel it's using anyway?

    [–] barsoap@lemm.ee 1 points 1 year ago

    Anyone who ever tried running HURD.

    [–] guriinii@lemmy.world 3 points 1 year ago (1 children)

    I think when I'm in terminal I call them directories but otherwise I'll click and open a folder in my file manager

    [–] CoderKat@lemm.ee 1 points 1 year ago

    I personally use both completely inconsistently. I'm sure if I searched my commit history I'd be pretty close to uniformly random lol.

    I call them folders (especially with normies) with no regret. Fight me!

    [–] Nilz@sopuli.xyz 2 points 1 year ago (1 children)

    Alternatively you fully commit to it and alias cf to cd

    [–] red@feddit.de 1 points 1 year ago (1 children)

    First you need mkfol, otherwise you can't cf anywhere

    and don't forger for pwf before you rmfol to make sure you're in the right place, alternatively you can also fol to see where you are

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

    I had a new employee ask me what I meant when I used the word directory. They had never heard 'directory' used in that context. It has only been known as a folder to some people.

    [–] observantTrapezium@lemmy.ca 1 points 1 year ago

    I've been using nothing but Linux at home and work for 20 years and it's news to me that these words are not equal synonyms.

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

    A folder is the visual representation of a directory. A reasonable desktop GUI exposes the underlying files & directories as file icons and directory windows. If your abstraction leaks, that's a bug in your code, not something to beat the other guy up with. It is quite possible to be both a Linux dork and a classic Mac dork.

    [–] over_clox@lemmy.world 0 points 1 year ago (1 children)

    I've literally executed code with &!&

    Explain logic to me again?

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

    First shalt thou take out the Holy Filter. Then shalt thou Internet four porn, no more, no less. Four shall be the number thou shalt porn, and the porn of the Internet shall be four. Five shalt thou not porn, neither Internet thou three porn, excepting that thou then proceed to four. Six is right out. Once the number four, being the relationship of porn to the Internet, be reached, then lobbest thou thy Holy Hand Grenade of Antioch towards thy foe, who, being naughty in My sight, shall wank off.

    [–] donut4ever@lemm.ee 1 points 1 year ago

    I say folder when I'm in gui environment and directory when in console. Win win

    [–] fidodo@lemm.ee 1 points 1 year ago (1 children)

    But they're called both in all operating systems. Windows command line has a dir command.

    [–] erici@lemmy.sdf.org 2 points 1 year ago (1 children)

    Amiga Workbench called them drawers. I'm sticking with drawers.

    [–] mojo@lemm.ee 1 points 1 year ago

    You can also call your underpants that

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

    You're all wrong. The official term is "foldirectory".

    [–] savvywolf@pawb.social 1 points 1 year ago

    Do the power move and call them dictionaries.

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

    I use both terms. If I'm accessing it from a GUI, it's a folder. From the command line, it's a directory.

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

    Yeah i get this