this post was submitted on 23 Jan 2025
787 points (99.2% liked)

linuxmemes

21978 readers
2272 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.
  • 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, <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.
  • Β 

    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
    [–] zxqwas@lemmy.world 73 points 1 day ago (4 children)

    After over a decade of using it exclusively at home and partially at work I still googled how to add users to a group last week.

    [–] addie@feddit.uk 21 points 23 hours ago

    Well yeah. You barely use groups on a personal machine - maybe once and done for audio and VMs, depending on what distro you use - and at work you'd automate that shit, probably have it centralised.

    [–] 299792458ms@lemmy.zip 6 points 1 day ago (2 children)

    I try to remember commands backwards by how they look( ), if they are short, have capital letters and so on... Is that weird? If I give up I open the history file or my good ol' cheat sheet.

    [–] PoolloverNathan@programming.dev 8 points 21 hours ago (2 children)

    (Tip: Most shells allow you to press Ctrl+R to interactively search through history, meaning you won't have to open a separate file.)

    [–] MonkeMischief@lemmy.today 1 points 31 minutes ago

    Oh. My. Word.

    I thought I was clever by using history | grep <bit of command I remember>

    I KNEW there had to be a better way!

    [–] 299792458ms@lemmy.zip 1 points 21 hours ago

    Thank you, I already have it configured with fzf aswell, and another to search folders to jump to them.

    [–] Petter1@lemm.ee 1 points 21 hours ago (1 children)
    [–] 299792458ms@lemmy.zip 3 points 19 hours ago (1 children)

    I did use it but the only real benefit for me as a hobbyist was the git status indicator on the prompt and the easy to configure prompt. The rest of the indicators did not help me since I'm not a developer. Now I just have my custom prompt with colors, and custom git info.

    [–] Petter1@lemm.ee 0 points 19 hours ago (2 children)

    But it autocompletes pretty well, isn’t it? πŸ€”or was it fish doing that

    Fish does history autocomplete, not Starship β€” you still have autocomplete using unconfigured Fish, and you don't get autocompletion by enabling Starship for other shells.

    [–] 299792458ms@lemmy.zip 3 points 18 hours ago

    I quite sure fish has it, but I use zsh without autocompletions, I just press tab until I find what I need. And the fzf history shortcuts for the rest.

    [–] klangcola@reddthat.com 2 points 22 hours ago (2 children)

    Was it "groupadd" or "addgroup"...? I can never remember xD

    [–] PlexSheep@infosec.pub 13 points 21 hours ago

    usermod -aG group user mnemonic: user mod append group

    groupdel, groupadd
    userdel, adduser

    [–] Petter1@lemm.ee -3 points 21 hours ago

    πŸ˜†I ask AI for that