atools
, which includesals
,aunpack
,apack
. so you can stop caring about the kind of archive and just unpack it. it also saves you from shit archives that have multiple files/dirs in their root.perl -e
/perl -lne
/ …units
bc
- a calculator that’s actually goodpass
- the only non-shit password store tool i’ve found so far. no gui, uses gpg and git to do the encrypting and storage/sharingalias lr='ls -lrth'
- so you can easily find the newest file, cos that’s frequently what you wantunip
- my script to look up things in the unicode dbfind -type f -exec xzgrep 're' {} +
- because xzgrep cant do -r
oh yeah, and for the shell readline, alt-b, alt-f, ctrl-w, ctrl-u, ctrl-k, ctrl-a, ctrl-e
Seems like an appropriate place to share https://github.com/agarrharr/awesome-cli-apps
I’m a fan of ripgrep and lsd in particular.
Removed by mod
deleted by creator
flatpak update
Ctrl-r with https://github.com/atuinsh/atuin is amazing. Never forget a command you used ever again.
I trigger it with the up arrow.
ls
ls -ltrc
Show most recently modified files.
less
,watch
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.
tldr
is great. Basically a crowd-sourced alternative toman
with much more concise entries. Example:$ tldr dhcpcd DHCP client. More information: <https://roy.marples.name/projects/dhcpcd>. Release all address leases: sudo dhcpcd --release Request the DHCP server for new leases: sudo dhcpcd --rebind
Woah, that’s dope as heck. Thank you!
:O
Well…slap my ass and call me Mary…
Thanks kind internet stranger!
Neofetch
Get on with the times, install fastfetch ;)
I use “ping” every time I suspect my internet might be going a bit slow.
Try mtr . It’ll run kinda like a trace route but will show you where the delay is happening. Still relys in icmp not being blocked
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 }
shred -vzf
sudo apt-get update && sudo apt-get upgrade
And technically
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
topgrade
does this and and a lot moreChuck 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.
In my ~/.bashprofile:
alias resource="source ~/.bashprofile"
In my terminal:
resource
Anything to save a few characters
omz reload
not going to say zsh is better than bash or fish, but oh-my-zsh does make it more attractive for some use-cases
omz is bloat and slows fown your shell a lot. Just do this: https://www.youtube.com/watch?v=21_WkzBErQk
And I’d recommend starship for a custom prompt, it’s really good: https://starship.rs
Edit: For other ZSH nice-to-haves: https://www.youtube.com/watch?v=eLEo4OQ-cuQ
I’ll have to give starship a try, seems like a cool way to handle customizing the prompt
as to the “omz is bloat and slows down your shell”:
- How slow? Because I’ve never noticed. Are we talking about waiting for 15 seconds when I should only have to wait for 1, or are we talking theory and the difference between 0.5 vs 0.08 seconds in benchmarks?
Because I’ve never been inconvenienced by the speed of my shell nor terminal emulator, despite having tried all kinds of setups. Turns out that “blazing fast” gpu accelerated terminal really didn’t make much of a difference on human timescales. Now I’m at the point where I appreciate the features over the performance.
- In reply to Brody’s point, I’m inclined to say “yes, and…?”
OMZ automates a lot. Sure, I could follow his way of manulaly sourcing dozens of individual shellscripts and making my own aliases and have a zshrc 1200 lines long… Or I could just let omz handle it.
Yes it’s mostly just a plugin manager, and…? Yes it automates a process I could do manually, and… ? Yes, it uses bindings that I didn’t personally write, and… ?
Fuck off with the clickbait “You’re living your life wrong, do this lifehack instead!!!” (and the lifehack is to reinvent the wheel) bullshit
Here’s a fun real lifehack: try things out for yourself, don’t just listen to and parrot other people’s opinions, don’t be afraid to go against the grain. Way more fun and fulfilling that way!
exec $SHELL -l
I have
cd && clear
aliased ashome
Lazy aliases unite!