this post was submitted on 17 May 2026
836 points (99.3% liked)

linuxmemes

31906 readers
28 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.
  • Don't come looking for advice, this is not the right community.
  • 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 3 years ago
    MODERATORS
    836
    It's hacker time (europe.pub)
    submitted 1 month ago* (last edited 1 month ago) by Lisk91@sh.itjust.works to c/linuxmemes@lemmy.world
     

    backup config files

    top 50 comments
    sorted by: hot top controversial new old
    [–] jakemehoff11@sh.itjust.works 126 points 1 month ago (3 children)

    Bonus points for using the mouse to copy/paste

    [–] queerlilhayseed@piefed.blahaj.zone 70 points 1 month ago (1 children)

    Only way to do it. everyone knows ctrl-c angers the terminal daemons.

    [–] NotSteve_@lemmy.ca 63 points 1 month ago (5 children)

    CTRL+shift+[c/v], my beloved

    [–] albbi@piefed.ca 26 points 1 month ago (4 children)

    Such an annoying kludge to make a common operation work.

    [–] queerlilhayseed@piefed.blahaj.zone 44 points 1 month ago (3 children)

    My hot take: cross-application or system-wide shortcuts like copy/paste should all be controlled with the Super/Meta key. Looking hard at you, alt-F4.

    App developers, you get your pick of Shift, Ctrl, and Alt modifiers. Super/Meta is for the OS only.

    [–] brisk@aussie.zone 21 points 1 month ago* (last edited 1 month ago)

    Super is for my window manager.

    Which I guess is kind of where copy paste live so I'm on board, barring semantic nitpicks

    load more comments (2 replies)
    [–] SpaceNoodle@lemmy.world 18 points 1 month ago* (last edited 1 month ago)

    Personally, I think it was quite rude of all of those applications to make the standard "break" command mean "copy."

    [–] DmMacniel@feddit.org 13 points 1 month ago (1 children)

    Control commands are older than the shortcuts for cut copy paste though.

    [–] albbi@piefed.ca 3 points 1 month ago (1 children)

    I got pretty used to CTRL-INS and Shift-INS for copy and paste. I don't know if those even still work though.

    load more comments (1 replies)
    [–] NotSteve_@lemmy.ca 10 points 1 month ago

    I guess I'm so used to it at this point that I just add the shift automatically and don't really consider it annoying

    Such an annoying kludge to make a common operation work.

    That describes nearly everything in software, doesn't itπŸ˜…

    [–] toynbee@piefed.social 5 points 1 month ago (2 children)

    See, I prefer middle click.

    load more comments (2 replies)
    load more comments (3 replies)
    [–] DigDoug@lemmy.world 10 points 1 month ago (1 children)

    The true LinuxMan uses middle-mouse click to paste.

    [–] DmMacniel@feddit.org 5 points 1 month ago (3 children)

    A truetrue LinuxUser uses the alternative clipboard instead.

    load more comments (3 replies)
    load more comments (1 replies)
    [–] slazer2au@lemmy.world 45 points 1 month ago (4 children)
    [–] thefactremains@lemmy.world 32 points 1 month ago (1 children)

    In Quebec they call hackers "dame blanche agaΓ§ante"

    [–] palordrolap@fedia.io 19 points 1 month ago (1 children)
    [–] jaybone@lemmy.zip 5 points 1 month ago
    [–] thebestaquaman@lemmy.world 39 points 1 month ago (3 children)

    Let's be reasonable: We were all at some point at the stage where doing anything at all in the terminal made us feel like a god.

    [–] bryndos@fedia.io 19 points 1 month ago (1 children)

    It's weird to have grown up with things like bbc micro and MS-DOS and see how alien the terminal is to people who didn't.

    Back then CLIs were all over, even like library catalog terminals, were CLI. TBF some still had card indexes though.

    At university everyone had to ssh in to the email server from whatever tty client even on windows (nt4/nt5/98/2k/mackintosh PCs).

    You definitely didn't feel like any hacker. The hacker level thing was to successfully connect via GUI mail client and actually have your emails update and sync properly - very few bothered.

    [–] jaybone@lemmy.zip 4 points 1 month ago (1 children)
    [–] bryndos@fedia.io 5 points 1 month ago

    Very possibly.

    I vaguely remember using putty on port 22 which i thought was ssh, but maybe it was telnet. we were leaving the 90s by then, so I think ssh was around. Might also have been different protocol on the uni LAN vs WAN connections.

    The libraries I remember might have been direct terminals to local server. Few catalogs were available even on the uni-wide LAN. No big deal really since you're going to have to go there to find the book anyway.

    The catalog room was an acceptable place to have a chat or lament the size of the reading list.

    [–] tdawg@lemmy.world 4 points 1 month ago

    Don't forget using cmatrix as a sudo-screensaver

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

    We were all at some point at the stage where doing anything at all in the terminal made us feel like a god.

    Some of us were at the point where GUIs weren't a thing and the terminal was the only option.

    load more comments (2 replies)
    [–] gurty@lemmy.world 35 points 1 month ago

    Watches update run in terminal and nods sagely as if understanding it all

    [–] jaybone@lemmy.zip 29 points 1 month ago (3 children)

    Until your shit got all fucked up because you added a third party repository. And then you have to manually remove lock files and fix the pkg database and mess with .conf files and manually uninstall specific versions of dependent packages, and then manually re-enable some remote repo.

    Then you actually kind of do feel like a hacker.

    Until you’ve done it like 10 different times, then you are just annoyed. Still a better love story than Twilight.

    [–] tal@lemmy.today 6 points 1 month ago* (last edited 1 month ago) (1 children)

    You copy paste the command.

    $ sudo apt update
    -bash: sudo: command not found
    $
    

    Your distro doesn't set up/install sudo by default, so your first task is installing sudo, then understanding /etc/sudoers syntax and understanding why the command to atomically replace /etc/sudoers is visudo and why on a multiuser system there's value to atomic replacement. In the meantime, you probably learn about su and maybe, if your distro has disabled them, how to enable switching to the kernel virtual consoles on tty1 through tty7 so that in the meantime, you can do things as root while staying logged in. Also, you're going to learn about environment variables, so as to set EDITOR, and where your shell config files live, what a login shell is, and in what shells ~/.bash_profile, ~/.profile, and ~/.bashrc run. Also, you first try running visudo as a regular user, but your distro places visudo in /usr/sbin instead of /usr/bin, so you can't figure out why it's not installed and are going to learn about the FHS and mlocate and updatedb so that you can find /usr/sbin/visudo and dpkg -S so that you can figure out which package it's in and confirm that it's actually installed and learn about PATH.

    load more comments (1 replies)
    [–] corsicanguppy@lemmy.ca 3 points 1 month ago

    shit got all fucked up because you added a third party repository

    Dependency hell is always, always, self-inflicted.

    apt is only SLSA1 or 2 anyway, so there's a lot more wiggle room.

    load more comments (1 replies)
    [–] daggermoon@piefed.world 14 points 1 month ago (1 children)

    We all have to start somewhere. I remember when that was me.

    [–] Adulated_Aspersion@lemmy.world 11 points 1 month ago (1 children)

    Even better the SECOND time you do it with the up arrow.

    You know. Just your standard Hacker, hackin'.

    [–] tal@lemmy.today 5 points 1 month ago (1 children)
    $ !!
    

    It keeps its handses on the home row.

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

    sudo !! Is nice but I mostly use the up arrow to repeat something long and complicated I did 10 minutes ago. The joke there is sometimes that takes too long too. So that's where history | grep 'keyword' is nice

    [–] queerlilhayseed@piefed.blahaj.zone 6 points 1 month ago (1 children)

    You may enjoy ctrl + r. It hasn't completely replaced grepping history for me but it's close.

    [–] Deebster@infosec.pub 4 points 1 month ago

    If you trigger fzf with ctrl-r then you might never need to grep again.

    [–] tal@lemmy.today 3 points 1 month ago* (last edited 1 month ago)

    history | grep 'keyword'

    If it's bash, it's using readline, which is in emacs-like mode by default, and so you can probably use Control-R to do a reverse i-search (incremental search). Enter to invoke the command. Control-C to abort i-search.

    If a search matches multiple candidates, tap Control-R multiple times to cycle back through results.

    EDIT: Also, ! has a built-in search, so if you are sure of the starting string, you can just do that. I generally prefer to use the interactive search to confirm that I'm not invoking something wonky.

    $ touch a
    $ rm a
    $ touch a
    $ !rm
    rm a
    $ 
    load more comments (1 replies)
    [–] normalentrance@lemmy.zip 9 points 1 month ago (1 children)

    Start btop in another full screen terminal, and then run apt update. Then you're fully in the matrix.

    [–] tal@lemmy.today 5 points 1 month ago* (last edited 1 month ago)
    $ sudo apt install cool-retro-term hollywood
    $ TMUX='' cool-retro-term --fullscreen -e hollywood
    

    You don't need to unset TMUX if you aren't already using and inside tmux, but including in case someone is.

    [–] bluey@lemmy.world 6 points 1 month ago
    [–] TheEighthDoctor@lemmy.zip 6 points 1 month ago

    $ hollywood

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

    Me when i fork dwl just to add a few patches that i did not create myself, just so i can make my own package for it.

    "You know, i'm something of a developer myself."

    When i tell claude to change the filenames from spelled out dates to hyphenated dates XD

    [–] M33@piefed.world 3 points 1 month ago

    Bitch please: curl install.sh | bash -

    [–] Echolynx@lemmy.zip 3 points 1 month ago

    Wait until you get on the sudo apt upgrade -U -y train

    load more comments
    view more: next β€Ί