- create files
Make and remove directories
- move or copy files and directories
Quick way to get your IP address and see all network connections.
brew install iproute2macip route showip addr
Get host details for any URL.
host google.com
- viewing directory structure:
brew install tree tree -L [number of levels]
- stop typing so much
- no need to scroll up to find the command you recently ran
- no need to re-type long commands
historydisplays your numbered command history![number from history]gives you the command with that number!gulpgives you the last gulp command you ranhistory | grep gulpshows your history filtered to justgulpcommands
Read files and command line data from top to bottom.
- pipe lengthy
git statusoutput:git status | less - pipe file contents for better readabililty:
cat file.html | less
- find stuff
- useful in combination with other commands
- pull only the content you want out of a file
- push content into the system clipboard
- add variables to shortcuts
- automate processes
- https://github.com/romkatv/powerlevel10k
- https://github.com/sharkdp/bat
- https://github.com/so-fancy/diff-so-fancy
- https://github.com/antonmedv/fx
- https://github.com/Peltoche/lsd
- https://github.com/cantino/mcfly
- https://github.com/orf/gping
- https://www.jedsoft.org/most/
- https://github.com/rakyll/hey
- https://httpie.io/docs/cli
- http://jonas.github.io/tig/
- https://github.com/ajeetdsouza/zoxide
Moving Around
/(search forward)?(search backwards)F(enable tail -f like behvaior, Ctrl-C to break out of it)v(open file in $EDITOR for editing, defaults to vi/vim)u- up half paged- down half pagek- scroll single line upj- scroll single line down