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

linuxmemes

24701 readers
2650 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 11 points 6 hours ago (1 children)

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

    [–] Trainguyrom@reddthat.com 7 points 4 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")

    [–] eodur@lemmy.world 5 points 2 hours ago (2 children)

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

    [–] Trainguyrom@reddthat.com 1 points 23 minutes ago

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

    [–] Strawberry@lemmy.blahaj.zone 2 points 1 hour ago (1 children)

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

    [–] martinb@lemmy.sdf.org 1 points 1 hour ago (1 children)
    [–] Trainguyrom@reddthat.com 2 points 25 minutes ago

    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

    [–] Hawke@lemmy.world 4 points 3 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.

    [–] Shanmugha@lemmy.world 4 points 6 hours ago

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

    [–] kibiz0r@midwest.social 74 points 13 hours ago (5 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
    [–] ayyy@sh.itjust.works 2 points 2 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.

    [–] Dumhuvud@programming.dev 3 points 9 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.

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

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

    Makes me realize just how illogical and bad these shortcuts are

    [–] Dumhuvud@programming.dev 6 points 9 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 2 points 5 hours ago (1 children)

    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.

    [–] medicsofanarchy@lemmy.world 2 points 2 hours ago

    In the 1980s, Digital Equipment Corporation had a word processor, WPS. Ctrl-u cleared the line you were typing and put it into the paste buffer. Maybe legacy usage?

    [–] apelsin12@lemm.ee 2 points 8 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

    [–] kittenzrulz123@lemmy.blahaj.zone 12 points 12 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 !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

    [–] ArcaneSlime@lemmy.dbzer0.com 2 points 51 minutes ago

    I have to check out some of these!

    As for the browser, how does it display sites? Does it display images/video/play audio or is it mostly for just the text based stuff? How about ads/adblockers?

    [–] Kualdir 6 points 11 hours ago (4 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)

    [–] Kualdir 1 points 2 minutes ago

    Imma just update: I have given up and wiped the drive to use it as a game drive for windows again. Each turn just gave hours of headache and I'm just done trying.

    Installing Mint took over 3 hours of searching obscure errors with solutions that were way too technical. In the end having gone from 5pm to 11pm just to get Mint dual booting. Got it installed and got teamspeak and stuff installed, after a bit too long having to find out but that's fine. Spent 4 hours trying to get steam games to run, not a single working boot and couldn't find anything online.

    I might try again once I get my new AMD based game pc whenever I have budget for it. But for now, nah this took too long and took way too much effort. I just started a new work project which has already been exhausting and I just plain don't have the energy to bother with this. Its not plug and play like people like to say online.

    [–] TimeNaan@lemmy.world 8 points 11 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 5 points 11 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.

    load more comments (1 replies)
    [–] it_depends_man@lemmy.world 138 points 21 hours ago (7 children)

    Also, updates.

    "hey computer! Update!"

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

    "y"

    "ok... done!"

    πŸ‘Œ

    [–] KneeTitts@lemmy.world -1 points 3 hours ago (1 children)

    Guess what I did last night? I spent 4 hours working on getting PSD, XCF and KRA thumbnailers working in Mint. It took custom scripts to be written and each one required different commands because KRA files are just a zip file so you have to extract that and grab one of 3 possible preview files that might exist inside that zip and make that the thumbnail, while in gimp files you cant just use convert command, even convert[0] will only turn the first layer into a thumbnail and thats completely useless. And to top off all that, I finally got thumbnails working in gnome/nautilus but Only the XCF thumbs will generate in cinnamon/nemo (I still have no clue why that is) but I cannot just switch to gnome because there is technically no gnome variant of Mint so gnome doesnt work 100%... etc etc etc

    Linux is still not there, this stuff should be simple and automatic. If a 20 year professional took 4 hours to get this far, the average user will give up immediately. Yes Mint is still my daily driver, but seriously thumbnails should not be this much work.

    [–] sqw@lemmy.sdf.org 3 points 3 hours ago* (last edited 3 hours ago)

    publish your scripts and you might save the next guy some hours πŸ™‚

    [–] umbrella@lemmy.ml 16 points 12 hours ago (1 children)

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

    [–] Allero@lemmy.today 3 points 11 hours ago

    Underrated comment

    [–] pennomi@lemmy.world 113 points 21 hours ago (16 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 58 points 20 hours ago (2 children)
    [–] neclimdul@lemmy.world 23 points 19 hours ago (1 children)

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

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

    [–] DJDarren@sopuli.xyz 3 points 2 hours ago (1 children)

    They'd be better off delivering a warm turd through your open window.

    [–] neclimdul@lemmy.world 3 points 59 minutes ago

    Teams is a giant turd but using it is a reality of working with a lot of companies so it's nice it's at least easy to install a slightly more functional version.

    load more comments (1 replies)
    load more comments (15 replies)
    load more comments (4 replies)
    [–] vorb0te@lemmynsfw.com 3 points 11 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.

    [–] yesman@lemmy.world 88 points 21 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)
    [–] applemao@lemmy.world 9 points 15 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 5 points 13 hours ago (2 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.

    [–] applemao@lemmy.world 3 points 4 hours ago* (last edited 4 hours ago)

    It depends a lot on your hardware. All of my stuff was picked up instantly (all AMD), my kb/mouse/tartarus of course, and my Logitech wheel. Now if you mean VR, linux struggles with that right now at least for oculus. The vive is ok with steam only games I heard.

    I treat it a lot like an old car. I love it and tinkering on it is fun, but if an emergency pops up and I have to, I can reboot into windows. Really trying to never have to do that, except for VR and games like PUBG (which yeah we shouldn't support but my friends and I still like it sometimes).

    If you're the type that craves learning and the journey is more fun than the goal (ie, me), then do it! I just put mint and popos on 3 different computers and have been having a lot of fun with it.

    [–] Jankatarch@lemmy.world 3 points 12 hours ago* (last edited 12 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.

    [–] hansolo@lemm.ee 67 points 22 hours ago (9 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.

    load more comments (9 replies)
    [–] some_guy@lemmy.sdf.org 21 points 18 hours ago

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

    load more comments
    view more: next β€Ί