this post was submitted on 30 Apr 2025
657 points (97.3% liked)

linuxmemes

24701 readers
2519 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
    [–] Hawke@lemmy.world 6 points 1 hour ago

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

    [–] Shanmugha@lemmy.world 2 points 1 hour ago

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

    [–] kibiz0r@midwest.social 49 points 8 hours ago (4 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
    [–] Dumhuvud@programming.dev 3 points 4 hours ago

    Nice list, TIL about Ctrl+U and Ctrl+Y.

    If I may add, Ctrl+X into Ctrl+E opens $EDITOR to edit the current line.

    [–] myotheraccount@lemmy.world 5 points 6 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)
    [–] apelsin12@lemm.ee 4 points 7 hours ago (1 children)

    Makes me realize just how illogical and bad these shortcuts are

    [–] Dumhuvud@programming.dev 4 points 4 hours ago (2 children)

    I believe, these are Emacs shortcuts. There's also set -o vi in bash, but I've never used it, so can't vouch for it.

    [–] Hawke@lemmy.world 1 points 56 minutes ago

    That’s good to know. It’s interesting that the other commenter thinks emacs shortcuts are illogical. I’ll make my best guesses at the logic

    • ctrl-a/ctrl-e for start/end of line

    a is the beginning of the alphabet; e for 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

    No idea here. Seems similar to nano with k-β€œcut” and u-”uncut”.

    • ctrl-w to delete by word

    w for word obviously.

    • ctrl-r to search your command history
    • alt-b/alt-f to move cursor back/forwards by word

    r reverse, b back, f forward. Not sure why alt vs control though; presumably ctrl+b and ctrl+f do different things although I know emacs likes to use Alt (β€œMeta”) a lot.

    [–] apelsin12@lemm.ee 1 points 3 hours ago

    Explains why they are so illogical! Unfortunately i think its better to just learn the defaults since i remote into lots of servers where i dont carry my config

    [–] exocortex@discuss.tchncs.de 1 points 7 hours ago* (last edited 7 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!

    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 !unixporn@lemmy.world, for !unixsocks@lemmy.blahaj.zone 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

    [–] vorb0te@lemmynsfw.com 3 points 6 hours ago

    Every now and then I have to analyze some data at work, and gladly I have full access to my work station, so I have WSL2 with Linux, and I wouldn't know what to do without all that Linux CLI goodness. A mixture of Pipes, xsltproc, jq, Python to get the numbers out of millioons of log lines or xml or json files. If I was stuck on Windows the tasks would be tedious.

    [–] Kualdir 4 points 6 hours ago (3 children)

    I installed mint yesterday and am having a PAIN installing anything not in the software manager. Currently stuck on teamspeak as my first thing to try. Got a tar.gz and can't find anything well explained online (as of yet, it was already 3 hours just to get mint to dual boot and I was exhausted)

    [–] TimeNaan@lemmy.world 3 points 6 hours ago

    With .tar.gz software usually the steps are:

    1. Extract the archive
    2. Find a file with the .sh extention - that's the shell script. It will most likely be named something like install.sh
    3. Make it executable - by right clicking and enabling it in the properties or by opening a terminal in this folder and using a command:
    chmod +x install.sh
    
    1. Run the installer in the terminal:
    ./install.sh
    

    It might ask you to run it as root and quit. In that case put a sudo before the command above and it will ask you for your password

    sudo ./install.sh
    

    And tbat's it, installation should begin. Follow the instructions in your terminal.

    [–] Allero@lemmy.today 2 points 6 hours ago

    Can't say for TeamSpeak, but will say for Linux: setting everything up and figuring out your steps in edge cases is the hardest part. Once you figure it out, it gets so much easier.

    [–] goodgame@feddit.uk 1 points 5 hours ago

    https://flathub.org/ is a great way to manage linux apps/programmes. Very easy and several other benefits

    [–] applemao@lemmy.world 7 points 10 hours ago (1 children)

    Isn't it fun? It's like owning your car and learning what everything actually does, and figuring out how to fix it. And having an amazing community to boot!. I enjoy it.

    [–] sykaster 3 points 8 hours ago (1 children)

    I'm thinking of making Linux my daily driver apart for some software I need for work. People are super positive about it on here, but isn't it still the case that some peripherals won't work? Or that I'll spend a ton of time making the system work instead of actually using the system?

    It would be for gaming that I'd use the Linux installation mostly.

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

    Speaking from personal experience but pretty universal one at that.

    Once terminal kinda "clicks" you will get the urge to tweak stuff. It happens because there is bunch "demo apps" that are just cool to mess around with but simply don't get known on co-orperate OS. Check this as example.

    If games you play or tools you use can be fitted to linux, at some point you will port 80% of your workflow just messing around during the tweaking. Like when you do your first rice.

    And after that you can confidently chose if you want to add on to that or continue dualboot.

    [–] it_depends_man@lemmy.world 121 points 16 hours ago (6 children)

    Also, updates.

    "hey computer! Update!"

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

    "y"

    "ok... done!"

    πŸ‘Œ

    [–] umbrella@lemmy.ml 11 points 8 hours ago (1 children)

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

    [–] Allero@lemmy.today 2 points 6 hours ago

    Underrated comment

    [–] pennomi@lemmy.world 100 points 16 hours ago (6 children)

    But how do Linux users handle the crippling loneliness of their operating system not pestering them with ads on every update? How else can you know if your computer loves you? Where is the warmth of the corporate embrace?

    [–] surewhynotlem@lemmy.world 52 points 15 hours ago (2 children)
    [–] neclimdul@lemmy.world 21 points 14 hours ago

    They discontinued that native app and have a kinda broken pwa. But open-source community delivers.

    https://github.com/IsmaelMartinez/teams-for-linux

    load more comments (1 replies)
    [–] grue@lemmy.world 22 points 15 hours ago* (last edited 15 hours ago) (1 children)

    We shitpost on Lemmy and start flame wars about vi vs. emacs, X11 vs Wayland, sysvinit vs systemd, snaps vs flatpak, etc.

    [–] superkret@feddit.org 15 points 15 hours ago (3 children)

    All of those wars have long since ended.
    Neovim, Wayland, Systemd and Flatpak have won.

    [–] KurtVonnegut@mander.xyz 20 points 15 hours ago (1 children)

    In Emacs I can annotate pdfs.

    [–] superkret@feddit.org 11 points 15 hours ago (2 children)

    who the fuck does that in a text editor??

    [–] grue@lemmy.world 17 points 14 hours ago* (last edited 14 hours ago) (1 children)

    Emacs has a text editor???

    Tap for spoilerDespite my joke, I'm on the Emacs side of this war.

    [–] Barbarian@sh.itjust.works 9 points 12 hours ago

    /me eating popcorn as a nano user

    load more comments (1 replies)
    load more comments (2 replies)
    [–] Colloidal@programming.dev 9 points 14 hours ago

    "Welcome to Costco. I love you."

    load more comments (3 replies)
    [–] wise_pancake@lemmy.ca 14 points 16 hours ago

    β€œHey computer, I don’t like when you ask for that confirmation, just do it”

    β€œOh, -y, I got you”

    load more comments (3 replies)
    [–] yesman@lemmy.world 77 points 16 hours ago (6 children)

    The Windows terminal has some very good commands. 'ssh username@server' can log you right into a Linux machine!

    load more comments (6 replies)
    [–] some_guy@lemmy.sdf.org 19 points 13 hours ago

    Welcome in from the cold. We have hot cocoa and blankets.

    [–] hansolo@lemm.ee 59 points 17 hours ago (6 children)

    I once installed HP shitbox printer drivers from the command line in 30 seconds, and the shitbox printer just...worked.

    My heart soared higher than the eagle. I touched the face of the one true FOSS God, and felt that thing when astronauts have epiphanies about the Earth. 10/10, would recommend.

    [–] wise_pancake@lemmy.ca 26 points 16 hours ago (2 children)

    The moment I loved the FOSS community was when I went on an Linux IRC channel, complained about my wifi not working, and some stranger messaged me detailed instructions with a patch in 20 minutes that completely fixed my issue.

    load more comments (2 replies)
    [–] Colloidal@programming.dev 8 points 14 hours ago (1 children)

    Mine worked out of the box on mint. Like, it detected the network HP shitbox and I could print, no user intervention. I was floored.

    load more comments (1 replies)
    load more comments (4 replies)
    [–] DmMacniel@feddit.org 33 points 16 hours ago (4 children)

    When the GUI fails, Terminal will have your back; can I get an Amen?

    [–] Flax_vert@feddit.uk 15 points 15 hours ago (2 children)

    When my computer starts to run out of ram and I immediately try and switch into the CLI so I can launch htop and kill the offender

    load more comments (2 replies)
    load more comments (3 replies)
    [–] Lettuceeatlettuce@lemmy.ml 7 points 12 hours ago

    You've taken your first step into a larger world.

    [–] amotio@lemmy.world 20 points 17 hours ago (2 children)

    Just wait when you try AUR on arch systems. I was long time ubuntu based user but once I tasted rolling release and AUR I don't want to go back.

    [–] BuboScandiacus@mander.xyz 21 points 17 hours ago (4 children)

    It is going to make to want to go back

    Someday

    When you least expect it, and have a deadline

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