What are your favorite and/or the most useful bash commands?
-
-
Replying to @varcharr
pv - monitor the progress of data through a pipe fc - edit commands in the history list in
$EDITOR ripgrep/rg - fast code-focused grep “cd -“ - switches to last directory asdf - all purpose version manager “alias lf=‘ls -rt | tail -1’” - where “lf” stands for “last file”2 replies 0 retweets 1 like -
jq - json processor jmespath/jp - like jq, but uses jmespath, same as awscli’s —query colorssh - my own script to color your terminal a different, consistent color per host you ssh to, https://github.com/wlonkly/dotfiles/blob/master/home/gbin/colorssh … aggis - the original CIDR calculator (1994!)https://github.com/wlonkly/dotfiles/blob/master/home/gbin/aggis …
1 reply 0 retweets 1 like -
one more! spark - generate sparklines in your terminal ▁▂▃▅▂▇https://github.com/holman/spark
1 reply 0 retweets 0 likes
I LIED ONE MORE “sort -h” sorts by “human”, which means it knows that “2M” is smaller than “2G” but bigger than “2K”
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.