598

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
[-] kibiz0r@midwest.social 96 points 1 week ago
  • 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
[-] exocortex@discuss.tchncs.de 11 points 1 week ago* (last edited 1 week 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 9 points 1 week 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 7 points 1 week ago

Makes me realize just how illogical and bad these shortcuts are

[-] Dumhuvud@programming.dev 9 points 1 week ago

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.

load more comments (3 replies)
[-] ayyy@sh.itjust.works 6 points 1 week 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.

load more comments (1 replies)
load more comments (5 replies)
[-] it_depends_man@lemmy.world 80 points 1 week ago

Also, updates.

"hey computer! Update!"

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

"y"

"ok... done!"

👌

[-] pennomi@lemmy.world 72 points 1 week ago

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?

[-] grue@lemmy.world 11 points 1 week ago* (last edited 1 week ago)

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 7 points 1 week ago

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

[-] KurtVonnegut@mander.xyz 9 points 1 week ago

In Emacs I can annotate pdfs.

[-] superkret@feddit.org 7 points 1 week ago

who the fuck does that in a text editor??

[-] grue@lemmy.world 9 points 1 week ago* (last edited 1 week ago)

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 1 week ago

/me eating popcorn as a nano user

load more comments (1 replies)
load more comments (4 replies)
[-] Colloidal@programming.dev 6 points 1 week ago

"Welcome to Costco. I love you."

load more comments (3 replies)
[-] umbrella@lemmy.ml 17 points 1 week ago

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

load more comments (1 replies)
load more comments (14 replies)
[-] yesman@lemmy.world 54 points 1 week ago

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

[-] Landless2029@lemmy.world 5 points 1 week ago

I setup open SSH on windows so you can swing it both ways!

My main gripe is it runs cmd.exe and I gotta powershell to jump into that. If you auto powershell it doesn't work right.

load more comments (5 replies)
[-] hansolo@lemm.ee 29 points 1 week ago

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 18 points 1 week ago

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.

[-] Kecessa@sh.itjust.works 6 points 1 week ago

At the same time it encourages people to just trust whatever people are telling them to input in the terminal, which is potentially dangerous.

load more comments (1 replies)
[-] 30p87@feddit.org 6 points 1 week ago* (last edited 1 week ago)

I once plugged my linux laptop into the scanner and it just worked

I spent days tinkering with proprietary, outdated (seriously, win XP as target) programs that provide sort-of drivers, and nothing worked, on windows.

[-] TunaLobster@lemmy.world 6 points 1 week ago

I think that is just wildly amazing that printer drivers in Linux so often just work. I plugged in a wireless printer the other day and the hardest part was connecting it to the network. Once that was done BOOM Ubuntu found it and I could print. Those driver maintainers are doing a great job!

[-] 30p87@feddit.org 7 points 1 week ago

Capitalism vs Communism on a small scale

One is "We're not making profit anymore, so not paying anyone to do this. Also not publishing the source because of IP.", the other one is "I have fun doing this, I think I'll adapt the driver to my printer. Open ofc, so others can benefit, while all others, including me, benefit from others achievements."

load more comments (1 replies)
[-] Colloidal@programming.dev 6 points 1 week ago

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)
[-] kittenzrulz123@lemmy.blahaj.zone 17 points 1 week ago

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

load more comments (5 replies)
[-] some_guy@lemmy.sdf.org 16 points 1 week ago

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

[-] Hawke@lemmy.world 15 points 1 week ago

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

[-] Trainguyrom@reddthat.com 8 points 1 week ago

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 9 points 1 week ago

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

load more comments (8 replies)
load more comments (1 replies)
load more comments (1 replies)
[-] DmMacniel@feddit.org 10 points 1 week ago

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

[-] Flax_vert@feddit.uk 6 points 1 week ago

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 (2 replies)
[-] applemao@lemmy.world 9 points 1 week ago

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@feddit.nl 5 points 1 week ago

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.

load more comments (2 replies)
[-] Lettuceeatlettuce@lemmy.ml 9 points 1 week ago

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

[-] LostXOR@fedia.io 8 points 1 week ago

It's insane to me that Windows still doesn't have a proper package manager. When you need to upgrade a program you're expected to go to their website and download the latest version, or update it with its own update mechanism.

load more comments (3 replies)
[-] Kualdir@feddit.nl 7 points 1 week ago

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 11 points 1 week 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 6 points 1 week 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 (2 replies)
[-] amotio@lemmy.world 6 points 1 week ago

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.

load more comments (5 replies)
load more comments
view more: next ›
this post was submitted on 30 Apr 2025
598 points (97.5% liked)

linuxmemes

24858 readers
1172 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