1012

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
[-] it_depends_man@lemmy.world 162 points 3 months 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 126 points 3 months 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 25 points 3 months ago* (last edited 3 months 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 17 points 3 months ago

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

[-] KurtVonnegut@mander.xyz 19 points 3 months ago

In Emacs I can annotate pdfs.

[-] superkret@feddit.org 12 points 3 months ago

who the fuck does that in a text editor??

[-] grue@lemmy.world 17 points 3 months ago* (last edited 3 months ago)

Emacs has a text editor???

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

[-] Barbarian@sh.itjust.works 10 points 3 months ago

/me eating popcorn as a nano user

load more comments (1 replies)
load more comments (4 replies)
[-] joyjoy@lemm.ee 12 points 3 months ago

Sometimes I run the update command and there hasn't been an update since yesterday. I think that's pretty close.

[-] superkret@feddit.org 10 points 3 months ago
there is nothing to do ;_;
[-] Colloidal@programming.dev 8 points 3 months ago

"Welcome to Costco. I love you."

[-] wise_pancake@lemmy.ca 15 points 3 months ago

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

“Oh, -y, I got you”

load more comments (6 replies)
[-] kibiz0r@midwest.social 106 points 3 months 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 15 points 3 months ago* (last edited 3 months 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!

[-] apelsin12@lemm.ee 13 points 3 months ago

Makes me realize just how illogical and bad these shortcuts are

[-] Dumhuvud@programming.dev 10 points 3 months 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)
[-] myotheraccount@lemmy.world 11 points 3 months 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)
[-] hamsda@lemm.ee 8 points 3 months ago* (last edited 3 months ago)

Saved! Thank you so much.

I've used Linux full-time since late 2020 and I never knew about ctrl+y and ctrl+u.

I'd also like to contribute some knowledge.

aliases

You can put these into your ~/.bashrc or ~/.zshrc or whatever shell you use.

###
### ls aliases
###
# ls = colors
alias ls='ls --color=auto'

# ll = ls + human readable file sizes
alias ll='ls -lh --color=auto'

# lla = ll + show hidden files and folders
alias lla='ls -lah --color=auto'

###
### other aliases
###
# set color for different commands
alias diff='diff --color=auto'
alias grep='grep --color=auto'
alias ip='ip --color=auto'

# my favourite way of navigating to a far-off folder
# this scans my home folder and presents me with a list of
#    fuzzy-searchable folders
#    you need fzf and fd installed for this alias to work
alias cdd='cd "$(sudo fd -t d . ${HOME} | fzf)"'

recommendations

ncdu - a shell-based tool to analyze disk usage, think GNOME's baobab or KDE's filelight but in the terminal

zellij - tmux but easy and with nice colors

atuin - shell history but good, fuzzy-searchable. If you still have the basic shell history (when pressing ctrl+r), I cannot recommend this enough.

ranger - a terminal file-browser (does everything I need and way more)

load more comments (2 replies)
load more comments (5 replies)
[-] yesman@lemmy.world 105 points 3 months ago

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

load more comments (1 replies)
[-] hansolo@lemm.ee 69 points 3 months 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 31 points 3 months 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.

[-] 30p87@feddit.org 18 points 3 months ago* (last edited 3 months 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 13 points 3 months 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 15 points 3 months 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 10 points 3 months 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)
[-] DmMacniel@feddit.org 36 points 3 months ago

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

[-] drolex@sopuli.xyz 15 points 3 months ago

Amen. Hallelujah! AMEN! Ooh yeah brothers and sisters, AaaAAaAmen!

PS: this is not a cult BTW

[-] pennomi@lemmy.world 8 points 3 months ago

It is, but it’s a very nice cult.

load more comments (1 replies)
[-] amotio@lemmy.world 27 points 3 months 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 (1 replies)
[-] some_guy@lemmy.sdf.org 23 points 3 months ago

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

[-] kittenzrulz123 18 points 3 months 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 (2 replies)
[-] Hawke@lemmy.world 16 points 3 months 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 3 months 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 11 points 3 months 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)
[-] sbv@sh.itjust.works 16 points 3 months ago

I really like having a hotkey bound to the terminal window, so I can pop open a terminal, check something, and return to what I was doing.

https://community.linuxmint.com/software/view/tilda

[-] palordrolap@fedia.io 16 points 3 months ago

FWIW, most Debians (which includes Ubuntu and Mint) have Ctrl+Alt+T set to open the default terminal program without needing to install anything else. This is usually reconfigurable in the system settings too if that's an awkward stretch.

But I get that people like the drop-down terminals too, for which see also Yakuake and Guake.

load more comments (1 replies)
load more comments (3 replies)
[-] asudox@lemmy.asudox.dev 12 points 3 months ago* (last edited 3 months ago)

Yeah. Everyone I know that switched to Linux liked that as well.

[-] LostXOR@fedia.io 11 points 3 months 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.

[-] Integrate777@discuss.online 7 points 3 months ago

They do, several third party options and of course the Microsoft store too. It's the users who are stuck in their old ways, which ironically is the harder way. Weird.

load more comments (1 replies)
[-] applemao@lemmy.world 11 points 3 months 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.

load more comments (3 replies)
[-] Lettuceeatlettuce@lemmy.ml 9 points 3 months ago

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

[-] Kualdir@feddit.nl 8 points 3 months 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 10 points 3 months 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.

load more comments (2 replies)
load more comments
view more: next ›
this post was submitted on 30 Apr 2025
1012 points (100.0% liked)

linuxmemes

26544 readers
1152 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