this post was submitted on 02 Sep 2025
419 points (98.6% liked)

linuxmemes

28059 readers
1155 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 users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • 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.
  • 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, no politics, no trolling or ragebaiting.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. πŸ‡¬πŸ‡§ Language/язык/Sprache
  • This is primarily an English-speaking community. πŸ‡¬πŸ‡§πŸ‡¦πŸ‡ΊπŸ‡ΊπŸ‡Έ
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • 6. (NEW!) Regarding public figuresWe all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  • Β 

    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 remove France.

    founded 2 years ago
    MODERATORS
     
    top 43 comments
    sorted by: hot top controversial new old
    [–] mycodesucks@lemmy.world 121 points 2 months ago (2 children)
    [–] lastweakness@lemmy.world 28 points 2 months ago (2 children)

    Just another reason to use fish

    [–] pineapplelover@lemmy.dbzer0.com 10 points 2 months ago* (last edited 2 months ago) (3 children)

    I love fish. I just hate that it's not posix compliant, so if I need to run posix stuff I need to switch to sh

    [–] BuboScandiacus@mander.xyz 15 points 2 months ago

    posix stuff

    need to switch to sh

    Then it turns out it was bash specific stuff

    [–] cole@lemdro.id 7 points 2 months ago

    why not zsh? that's why I switched from fish

    [–] int32@lemmy.dbzer0.com 4 points 2 months ago (1 children)

    I use nushell btw, but I do agree fish autocompletions are the best!

    [–] KSPAtlas@sopuli.xyz 1 points 2 months ago (1 children)

    I think you can use fish autocompletions in nushell?

    [–] int32@lemmy.dbzer0.com 1 points 2 months ago

    you can, but you have to install fish, would be better if it was a default or standalone package.

    [–] grrgyle@slrpnk.net 8 points 2 months ago (1 children)

    Rofl

    For the first time I've actually started, like, using the Documents folder to store copies of receipts, contracts, etc.

    I feel like I have finally entered adulthood.

    [–] iveseenthat@reddthat.com 2 points 2 months ago

    Oh shit. I feel personally identified...

    [–] bus_factor@lemmy.world 71 points 2 months ago (3 children)

    ZSH will tab-complete it even if you have a small D

    [–] BuboScandiacus@mander.xyz 12 points 2 months ago

    zsh not letting down our short king Ds

    [–] mal3oon@lemmy.world 2 points 2 months ago

    bcachefs entered the chat. Linus slammed the chat close.

    [–] nocturne@slrpnk.net 16 points 2 months ago (10 children)

    So I realize this is a joke, but, and I am legit asking, isn't there a command where you can tell Linux to treat Downloads and downloads as the same thing?

    [–] TVA@thebrainbin.org 30 points 2 months ago (1 children)

    Maybe, but there is always the possibility that Downloads and downloads both exist in that path and in a case sensitive file system, those are going to be two completely different directories, so adding that obfuscation on top might wind up biting you later.

    [–] jonathan@piefed.social 11 points 2 months ago (1 children)

    That's where case-insensitive tab complete comes in. You can still tab through downloads and Downloads, and it doesn't impact anything else.

    [–] TVA@thebrainbin.org 5 points 2 months ago

    Absolutely! That's probably the best compromise to make it easier without risking something breaking or not working as expected

    [–] oktoberpaard@piefed.social 14 points 2 months ago

    In Bash you can use a shell option to alter this behavior: shopt -s nocaseglob. See https://www.gnu.org/software/bash/manual/html_node/The-Shopt-Builtin.html for more options.

    [–] jdnewmil@lemmy.ca 13 points 2 months ago

    Sorta. If you put a FAT32 disk or sd card into a Linux system and mount it, it will ignore case because of the way the filenames are stored in that filesystem. However, there are a lot of important features you lose working on filesystems like that, so really it should be reserved for sneakernet with other operating systems.

    [–] BuboScandiacus@mander.xyz 7 points 2 months ago
    [–] pressanykeynow@lemmy.world 6 points 2 months ago

    You can use casefold option on ext4.

    [–] _stranger_@lemmy.world 6 points 2 months ago* (last edited 2 months ago) (1 children)

    ln -s downloads Downloads

    or

    ln -s Downloads downloads

    depending on your situation.

    [–] nocturne@slrpnk.net 3 points 2 months ago

    Thank you. I thought I remembered using something like this back when I ran OpenSUSE and redhat years ago.

    [–] overload@sopuli.xyz 5 points 2 months ago

    I've kind of just accepted this is one of the differences between Linux and Windows that we as users need to understand is OS-specific.

    [–] pelle@veganism.social 3 points 2 months ago

    @nocturne
    if you use #fishshell, it'll autocomplete to "Downloads"

    [–] iveseenthat@reddthat.com 3 points 2 months ago
    ln -s Dowloads downloads
    
    [–] angband@lemmy.world 2 points 2 months ago* (last edited 2 months ago)

    alias downloads="cd ~/Downloads"

    edit: but if you want to get freaky in bash, alias downloads="pushd ~/Downloads"

    probably works in some other shells too

    [–] frezik@lemmy.blahaj.zone 13 points 2 months ago

    I once got into it with a dev who had written an Arduino library. I reported a compile bug, and he said my environment must be broken. In fact, it was because the headers in the library were set for #include 'arduino.h', not Arduino.h. Which would work fine on the default settings for Windows and Mac, but not Linux.

    [–] Randelung@lemmy.world 11 points 2 months ago* (last edited 2 months ago) (1 children)

    $ ln -s ~/Downloads downloads

    ~~You can even hard link it if you feel fancy.~~

    [–] KickMeElmo@sopuli.xyz 3 points 2 months ago (2 children)

    You can't hardlink directories on a standard *nix filesystem. NTFS has that in the form of Junctions and it's likely made more messes than it has prevented.

    [–] Randelung@lemmy.world 3 points 2 months ago

    Ah, yes, my bad. Need a file for hard links.

    [–] jim3692@discuss.online 2 points 2 months ago

    I have yet to see anyone brave enough, to mount /home to NTFS

    [–] _stranger_@lemmy.world 10 points 2 months ago

    It's pronounced "Data".

    [–] CheesyFox@lemmy.sdf.org 8 points 2 months ago

    try out zoxide

    [–] mazzilius_marsti@lemmy.world 7 points 2 months ago* (last edited 2 months ago) (1 children)

    alias downloads='Downloads'

    alias Downloads='downloads'

    [–] prole@lemmy.blahaj.zone 1 points 2 months ago* (last edited 2 months ago) (1 children)

    Oh shit, I've never thought to do this... Would this work? Or are aliases only for commands?

    [–] palordrolap@fedia.io 4 points 2 months ago

    This wouldn't work.

    Well, it kind of would if you did alias downloads="cd Downloads" but then you wouldn't cd downloads you'd just type downloads on its own.

    As other comments here already point out, you can do it with a symlink if you really want it. i.e. ln -s Downloads downloads, then you can cd downloads.

    Nowhere near the same as making everything effectively case insensitive, but it works for the odd one that you always mistype.

    There are ways to patch command completion and/or write a variant cd that does the job intelligently too, but those are harder work.

    Day-late edit that no-one will see: The answer is bind "set completion-ignore-case on". It's embarrassing how simple this is and how long it took me to find it. I may have been trying to emulate this feature in other ways for a long time.

    I ran into that same issue. When case sensitive stuff hits for rhe first time.

    Also I love linux's cmd line. I grew up on MS-DOS and I feel like the computer hacker that I always dreamed I would be.

    [–] fleebleneeble@reddthat.com 4 points 2 months ago
    [–] sircac@lemmy.world 2 points 2 months ago

    My home is so populated of symlinks of similar namings: capital leters, other languages,...

    [–] HakunaHafada@lemmy.dbzer0.com 2 points 2 months ago

    crossdresser downloads? Don't mind if I do!