this post was submitted on 21 Sep 2024
212 points (96.9% liked)

Asklemmy

43968 readers
1259 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 5 years ago
MODERATORS
(page 4) 50 comments
sorted by: hot top controversial new old
[โ€“] friend_of_satan@lemmy.world 3 points 2 months ago* (last edited 2 months ago)

compgen -back to see all valid things you can type into a shell.

[โ€“] ColdWater@lemmy.ca 3 points 2 months ago (1 children)
load more comments (1 replies)
[โ€“] berryjam@lemmy.world 2 points 2 months ago
[โ€“] ICastFist@programming.dev 2 points 2 months ago (4 children)

More of a shortcut, CTRL + A + D to exit the current session (exits a sudo su first, then a ssh, then the actual terminal)

load more comments (4 replies)

less, watch

[โ€“] 1984@lemmy.today 2 points 2 months ago (1 children)

Ctrl-r with https://github.com/atuinsh/atuin is amazing. Never forget a command you used ever again.

[โ€“] eric@lemmy.ca 2 points 2 months ago

I trigger it with the up arrow.

[โ€“] FrostyCaveman@lemm.ee 2 points 2 months ago
[โ€“] BigLime@lemmy.ml 2 points 2 months ago (1 children)
load more comments (1 replies)
[โ€“] kang@lemmy.ml 2 points 2 months ago (1 children)

$ z

A great cd alternative

Also $ sudo paru -Syu

[โ€“] theshatterstone54@feddit.uk 3 points 2 months ago (1 children)

I think you can run paru without sudo and it should still do privilege escalation no problem

load more comments (1 replies)
[โ€“] spittingimage@lemmy.world 2 points 2 months ago* (last edited 2 months ago)

I often play an old DOS game in DOSBox, and when I exit it doesn't reset the screen resolution. So I reset it manually by typing

xrandr -output e-DP1 -auto

[โ€“] LEVI@feddit.org 2 points 2 months ago

flatpak update

load more comments
view more: โ€น prev next โ€บ