this post was submitted on 25 Aug 2025
1563 points (98.9% liked)

linuxmemes

27136 readers
1725 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
     
    (page 2) 50 comments
    sorted by: hot top controversial new old
    [–] Dave@lemmy.nz 8 points 1 week ago (4 children)

    Everyone sharing their Ctrl+R tips, here's my Control+R question:

    How does scope work? Some command history only seems to exist in certain tabs.

    Also sometimes I Ctrl+R in a tab then the command is there but I forget I need a different one first, so I ctrl+c but the next time I search for that original command somehow it doesn't exist anymore.

    I'm using the default terminal on Nobara (fedora based).

    load more comments (4 replies)
    [–] cm0002@piefed.world 8 points 1 week ago

    Report post

    Report reason: ⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️⬆️"There it is" I'm in this picture and I don't like it

    [–] onebonestone@lemmy.world 8 points 1 week ago (3 children)

    Or just use fish shell. Rarely need ctrl+r anymore.

    load more comments (3 replies)
    [–] GreenKnight23@lemmy.world 7 points 1 week ago

    set -o vi

    ESC k /command

    or just grep history...

    [–] DJKJuicy@sh.itjust.works 7 points 1 week ago* (last edited 1 week ago)

    history 500 | grep *snippet of command*

    [–] DarkSirrush@lemmy.ca 6 points 1 week ago (1 children)

    History | grep wtf was that command again?

    load more comments (1 replies)
    [–] A_Random_Idiot@lemmy.world 6 points 1 week ago

    Why are you making personal attacks against me.

    [–] zod000@lemmy.dbzer0.com 5 points 1 week ago

    It's too early to call me out like that.

    [–] Magister@lemmy.world 5 points 1 week ago (5 children)

    I type the first few letters and use up arrow, or !start of command name

    load more comments (5 replies)
    [–] billygoat@catata.fish 5 points 1 week ago
    [–] HakunaHafada@lemmy.dbzer0.com 5 points 1 week ago
    [–] Yeahboy92@lemmy.world 4 points 1 week ago

    Atuin Magic Shell History is pretty good.

    [–] Nikls94@lemmy.world 4 points 1 week ago

    Me, playing indie games on Apple and doing the same with xattr -d com.apple.quarantine ~filepath

    • yes
    [–] turbowafflz@lemmy.world 4 points 1 week ago* (last edited 1 week ago)

    This is why I use fish, it's weird and not posix compliant, but its autocomplete and history stuff saves so much time it's worth it

    [–] bridgeenjoyer@sh.itjust.works 4 points 1 week ago (2 children)

    Nah just save all your commands in a text file on the desktop then make an alias to open it in nano so you just have to type "com". Works for dumb ol me

    load more comments (2 replies)
    load more comments
    view more: ‹ prev next ›