this post was submitted on 22 Oct 2025
283 points (98.3% liked)

linuxmemes

28068 readers
1223 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
     
    you are viewing a single comment's thread
    view the rest of the comments
    [–] joyjoy@lemmy.zip 10 points 1 month ago (2 children)

    It's a bash builtin, so none of these work anyway.

    [–] Jankatarch@lemmy.world 8 points 1 month ago* (last edited 1 month ago) (2 children)

    That's what help command is for.

    help cd
    help while
    help

    [–] tal@lemmy.today 12 points 1 month ago (1 children)

    Oooh, neat. I didn't know about that. Thanks. That better not have been around since the 1990s or something, with me always searching the bash(1) man page to find builtin information.

    $ help help|head -n2
    help: help [-dms] [pattern ...]
        Display information about builtin commands.
    $ git clone https://git.savannah.gnu.org/git/bash.git
    $ cd bash
    $ git log -S "Display information about builtin commands."|grep ^commit|tail -n1
    commit 3185942a5234e26ab13fa02f9c51d340cec514f8
    $ git show 3185942a5234e26ab13fa02f9c51d340cec514f8|grep ^Date
    Date:   Mon Jan 12 13:36:28 2009 +0000
    $
    

    Well, it's not the 1990s, but still. Dammit.

    [–] Jankatarch@lemmy.world 8 points 1 month ago* (last edited 1 month ago)

    LMAO actual madlad going in to check personally.

    Also damn that was 16 years ago.

    [–] joyjoy@lemmy.zip 6 points 1 month ago (2 children)

    It gets complicated when using zsh.

    [–] burntbacon@discuss.tchncs.de 7 points 1 month ago (1 children)

    I'm not complaining, much, but when my distro switched from bash to zsh and I didn't know until I reinstalled it for shins and gargles... that was a bad day for my remembered commands.

    [–] tal@lemmy.today 3 points 1 month ago (1 children)

    If you're not familiar, there's a chsh command.

    [–] joyjoy@lemmy.zip 1 points 1 month ago

    That probably wasn't part of the upgrade process.

    [–] Jankatarch@lemmy.world 2 points 1 month ago

    Ah that's fair lmao

    [–] palordrolap@fedia.io 5 points 1 month ago (1 children)

    FWIW, most if not all bash builtins turn up when searching in man bash for [four spaces]command-name[space], but as someone else points out, the help command also er, helps.

    [–] AnUnusualRelic@lemmy.world 4 points 1 month ago (1 children)

    Or you could read the info pages.

    [–] palordrolap@fedia.io 3 points 1 month ago (1 children)

    Maybe it's the (default) configuration on my distro, but info bash is the same information as man bash but with no bold text for headings and things. Ironically, I think I'd have to sit down with man info or info info for an hour or two before I could figure out how to get that formatting to show up in info.

    [–] AnUnusualRelic@lemmy.world 1 points 1 month ago

    Info pages are supposed to be way way more comprehensive than man pages. At least for the Gnu stuff since nobody else ever bothered with info (which can be painful to use for newcomers with the cli browser, although the kde help browser integrates info files flawlessly, of course).