cd
every single day.You haven’t discovered
exa
? Noob/s
deleted by creator
deleted by creator
Control + D
deleted by creator
pv (Pipe Viewer) is a command line tool to view verbose information about data streamed/piped through it. The data can be of any source like files, block devices, network streams etc. It shows the amount of data passed through, time running, progress bar, percentage and the estimated completion time.
GNU Parallel
Neofetch
Get on with the times, install fastfetch ;)
Saving this thread for later, but I use rsync -a a lot.
Have you heard of our lord and saviour rclone?
I haven’t gone back to rsync in a long time.
Getting cheatsheets via
curl cheat.sh/INSERT_COMMAND_HERE
No install necessary, Also, you can quickly search within the cheatsheets via
~
. For example if you copycurl cheat.sh/ls~find
will show all the examples ofls
that usefind
. If you remove~find
, then it shows all examples ofls
.I have a function in my bash alias for it (also piped into
more
for readability):function cht() { curl cheat.sh/"$1"?style=igor|more }
xdg-open FILE
- opens a file with the default GUI app. I use it for example to open PDFs and PNG. I have a one letter alias for that. It can also open a file explorer in the current directoryxdg-open .
. Should work on any compliant desktop environment (gnome/kde).qalc
Going to shamelessly plug my custom bashrc setup which has a ton of little scripting helpers and a few useful aliases. Remember to clone recursively if you want to try it out. (Still very much a work in progress, but it’s getting to be pretty robust)
Neofetch
let me guess, you either use arch or gentoo
You caught me. (I use arch btw)
cd
thenls
thencd
thenls
maybe I’ll throw ala -a
I use -A instead, which doesn’t show “.” and “…”
Nah you gotta alias ls -a to la for more efficiency.
l
Don’t forget your
pwd
thrown in to get back your bearings!
CTR + u will delete the whole command. I use that a lot so I don’t have to backspace. It’s saved me a ton of time
How about ctrl+c to cancel and clear the command you are typing? It’s much easier because you only need 1 hand, and does not impact your shell’s history.
Related: Alt +
.
, to cycle through arguments used in previous commandsThis is great for when you type in your root password incorrectly!
I just use control C, is there a difference other than whether the line shows up or not?
And then ctrl+y to paste it back and recover that text.