this post was submitted on 30 Apr 2025
870 points (97.6% liked)

linuxmemes

24701 readers
3014 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
     

    I thought it'd be a pain but installing programs through the terminal is actually so nice, I never would have expected it

    top 50 comments
    sorted by: hot top controversial new old
    [–] [email protected] 2 points 4 hours ago (3 children)

    if I could copy pasta with ctrl-c and ctrl-v in terminal, then 90% of my hatred of the command line would evaporate instantly.

    [–] alsimoneau 17 points 4 hours ago (1 children)

    middle mouse click is like magic, but CTRL-SHIFT-C/V usually works

    [–] [email protected] 6 points 4 hours ago (2 children)

    I don't want to pasta with middle click. I want to scroll with middle click. I want to pasta with ctrl-v.

    [–] [email protected] 5 points 3 hours ago* (last edited 3 hours ago)

    I don't want to pasta with middle click. I want to scroll with middle click. I want to pasta with ctrl-v.

    🍝🀌🀌🀌

    Lol jokes aside, like they said above just add a shift and you're good. Ctrl+shift+c and Ctrl+shift+v a'cut'a a'nna pasta jus'sa fine! Muah!

    [–] [email protected] 3 points 3 hours ago

    Has someone not made this a thing for the terminal?

    [–] [email protected] 1 points 3 hours ago

    What Ctrl+Shift+(do a little spin)+Ins isn't intuitive enough for you??

    Jokes aside, that's understandable. I guess I've just become used to it, but there must be some way to override the default binding if you don't like it... Personally I like the kitty terminal's approach which uses mod+c/v for copy and paste in the terminal like you'd expect, while still leaving ctrl+c/v for sigint and verbatim respectively.

    [–] [email protected] 1 points 3 hours ago

    Many terminals let you do that, just change keybinds. The issue is Ctrl+C is used to stop/kill a running command.

    [–] [email protected] 2 points 4 hours ago (1 children)

    i like leaving top on all day just to watch it.

    [–] [email protected] 2 points 1 hour ago (1 children)

    you've seen top, get ready for btop

    [–] [email protected] 1 points 1 hour ago

    i'm definitely ready to btop

    [–] [email protected] 15 points 10 hours ago (2 children)

    If you or someone you know wants a taste of that experience on Windows, try out winget or chocolatey.

    [–] [email protected] 4 points 4 hours ago

    i'd also recommend scoop. when i had windows before i switched, i preferred it to winget or chocolately.

    [–] [email protected] 8 points 8 hours ago (2 children)

    As an administrator, powershell is an essential tool these days. There are tunables that Microsoft simply only exposes via powershell even in their cloud Microsoft 365 environments. Just last month I had to rely on Powershell to trim previous versions on SharePoint, and 2 weeks ago I had to use Powershell to adjust a parameter on Exchange.

    But also being able to pop a Powershell session and quickly apply a registry fix or run a diagnostic command or even just install a piece of software without disrupting a user's work is absolutely brilliant (plus saves a call when I can just email back and say "I've pushed it remotely, reboot and it should be sorted now")

    [–] [email protected] 8 points 7 hours ago (2 children)

    Every time I use Powershell it makes me love bash even more

    [–] [email protected] 3 points 4 hours ago

    Yeah Powershell has way more weird limitations than Bash but it's way better than using cmd.exe

    [–] [email protected] 3 points 5 hours ago (2 children)

    Great news, you can install powershell as your linux shell!

    [–] [email protected] 1 points 4 hours ago

    honestly if they made windows terminal available in linux, i'd use it in a heartbeat.

    [–] [email protected] 2 points 5 hours ago (1 children)
    [–] [email protected] 3 points 4 hours ago (1 children)

    I actually had to do that due to something preventing me from upgrading to Powershell 7 on my workstation. Adapted my script for Linux and ran it in Powershell in Linux

    [–] [email protected] 2 points 3 hours ago (1 children)

    Haha this feels like the software version of using like 3 different daisy-chained adaptors. Nice solve!

    [–] [email protected] 1 points 3 hours ago

    Oh the best part is it was all to fix a problem on Microsoft SharePoint. Not even on-prem SharePoint!

    [–] [email protected] 4 points 7 hours ago

    As a sometimes Windows admin, I completely agree. Plus so many things that become simple one-liners instead of taking forever farting around in a GUI tool where a little misclick screws up everything and documentation requires 27 pages of giant screenshots.

    [–] [email protected] 84 points 17 hours ago (10 children)
    • tab completion works in more places than you might expect
    • ctrl-a/ctrl-e for start/end of line
    • ctrl-u to clear the command you’ve typed so far but store it into a temporary pastebuffer
    • ctrl-y to paste the ctrl-u’d command
    • ctrl-w to delete by word (I prefer binding to alt-backspace though)
    • ctrl-r to search your command history
    • alt-b/alt-f to move cursor back/forwards by word
    • !! is shorthand for the previous run command; handy for sudo !!
    • !$ is the last argument of the previous command; useful more often than you’d think
    • which foo tells you where the foo program is located
    • ls -la
    • cd without any args takes you to your home dir
    • cd - takes you to your previous dir
    • ~ is a shorthand for your home dir
    [–] [email protected] 3 points 3 hours ago

    Saving this! Absolutely gold, thanks for writing it up. You're what makes the Linux community cool. ❀️

    tab completion works in more places than you might expect

    I've found tab to be such a nice "please give me a hint" button.

    • Bonus tip : Sometimes you won't get auto complete because there's too many possibilities and the computer can't be certain which one you want. Hitting tab multiple times will show the possibilities, so you can type in enough characters to remove ambiguity, hit tab again, and boom auto complete!

    ...That was a terribly convoluted explanation I'm sorry. Just try hitting tab multiple times for fun if you're stuck it's kinda handy. Lol

    [–] [email protected] 4 points 6 hours ago

    If you’re looking for a full list of these kind of navigation shortcuts, they all come from readline so read the man page for that. Or just look up the basic navigation of emacs which is what readline is mimicking.

    [–] [email protected] 9 points 16 hours ago* (last edited 16 hours ago)

    I've been using the commandline for so long but was always too lazy to look up the rest of these commands after ctrl+a/e and ctrl+r THANK YOU!!!

    post this commend again and again! There's always lazy idiots like me who will be helped that way!

    [–] [email protected] 8 points 16 hours ago
    • alt-. also pastes the last argument of the previous command (useful if you need to modify it a bit)
    • instead of any shortcuts starting with "alt" you can also press "esc" followed by the second key, e.g. pressing "esc", releasing it and then "a" is the same as pressing "alt-a" (useful if you have only one hand available, or if alt is not availalble)
    • if you put a space before a command, it will not be saved in history (useful sometimes, e.g. if you pass a password directly as an argument)
    load more comments (6 replies)
    [–] [email protected] 5 points 10 hours ago

    Niw you are doomed and there is no going back. Welcome to the gang;)

    [–] [email protected] 16 points 17 hours ago (1 children)

    Just wait until you find the fun TUI utilities, ill share a few:

    • Shell: Fish (has powerful auto-complete, very fast, written in rust)
    • Montior: Btop (monitors all system resources and processes)
    • Fetch: Fastfetch (perfect for showing off on [email protected], for [email protected] Hyfetch is reccomnded)
    • Brower: BrowSH (its a browser in your terminal)
    • Text Editor: Vim (the best text editor, remeber to use esc + : + q to close or wq to write close vim. However when you open vim you can never quit)
    • File manager: Ranger (if cd + ls is too inconvenient)
    • Games (yes you can even play games in the terminal): 2048, Chess-TUI, NSnake, and Micro Tetris

    More cool TUI tools

    [–] [email protected] 2 points 4 hours ago (1 children)

    next step to full on conversion is making your own dotfiles repo :)

    [–] [email protected] 1 points 12 minutes ago

    Then get an old librebooted Thinkpad X230 with Arch GNU/Linux (and remind eveyone it's GNU + Linux) :3

    [–] [email protected] 146 points 1 day ago (30 children)

    Also, updates.

    "hey computer! Update!"

    "Sure thing, here is a list of 57 packages I will update, y/n?"

    "y"

    "ok... done!"

    πŸ‘Œ

    [–] [email protected] 0 points 4 hours ago (1 children)

    Windows has winget upgrade --all.

    Fucking cultists.

    [–] alsimoneau 0 points 3 hours ago (1 children)

    Does it also update Firefox and Discord and the OS and my graphics card drivers and everything else?

    [–] [email protected] 17 points 17 hours ago (1 children)

    plus it makes you feel like a hacker for a few seconds

    load more comments (1 replies)
    load more comments (28 replies)
    load more comments
    view more: next β€Ί