ll
df -h
du -sch
Ctrl+r
A loosely moderated place to ask open-ended questions
Search asklemmy ๐
If your post meets the following criteria, it's welcome here!
Looking for support?
Looking for a community?
~Icon~ ~by~ ~@Double_[email protected]~
Not a command but bang expansions. For example !?
is the args of last command useful for stuff like mkdir foo ; cd !?
https://www.redhat.com/sysadmin/bash-bang-commands learn these. you suck at using your computer if you don't know them.
ncdu
Not a command as much as I press the up arrow a lot. I'm.pretty lazy and hitting the up arrow 12 times is easier then retyping a complex rsync command.
I recently learned to use a for loop on the command line to organize hundreds of files in a few seconds.
sudo rm -rf /
Very powerful yet helpful command :-)
I did this on my personal computer just to prove a point.
ls -al
I learned you can edit .bashrc
(in your home dir) and update the alias for ls to include what I like. It has saved me lots of keystrokes. Mine is ls -lha
in addition to whatever color coding stuff is there by default.
For Debian based/descended distros:
sudo apt-get update && sudo apt-get upgrade
And technically I also regularly use
redshift -O 3000
all of the blue light filter programs try to align themselves with a user's geographic location and time, but I don't keep normal hours
Chuck the -y in there for extra lazy mode
I would but much like somebody else's recent post I have in the past nuked my install by blindly agreeing to some recommended software removals before. These days I like to double check what packages are being updated and replaced.
jq
Seems like an appropriate place to share https://github.com/agarrharr/awesome-cli-apps
I'm a fan of ripgrep and lsd in particular.
exit
I've recently started using tmux
when starting a new SSH session to try to build the habit.
g-push
which is alias for
git push origin `git branch --show`
Which I'm writing on my phone without testing or looking
I use "ping" every time I suspect my internet might be going a bit slow.