ShellCookbook - henk52/knowledgesharing GitHub Wiki
Shell cookbook
Introduction
Purpose
References
- 10 CLIs I Can Not Live Without!
- 10 CLI Tools Worth Installing Right Now
- bat - A replacement for cat with syntax highlighting, line numbers, and Git integration.
- btm - A cross-platform system monitor that replaces top and htop.
- curlie - curl with HTTPie-style output formatting.
- fzf - general-purpose fuzzy finder
- HTTPie - A human-friendly HTTP client for the terminal.
- jq - A command-line JSON processor.
- k9s - A terminal UI for Kubernetes
- lazygit - A terminal UI for Git
- tldr - Simplified, practical man pages with real examples.
- zoxide - A smarter cd that learns which directories you actually use.
CLI tools
eza
- sudo apt install eza
Aliases
alias k='kubectl'
alias kc='kubectl'
alias l='eza -F'
alias la='eza -A'
alias lg='eza --long --git --all --no-permissions --no-filesize --no-user --no-time'
alias ll='eza --long --git --all'
alias lt='eza --long --git --all --sort=modified'
alias m='mplayer -fs -zoom'
alias mk='minikube'
alias tf='terraform'
alias prusa='flatpak run com.prusa3d.PrusaSlicer'
tmux
-
The Linux Command I Ignored for 10 Years Just Saved Me 3 Hours a Day
-
zoom pane to copy: ctrl+b z
- the same to get back.
-
split horizontally: ctrl+b "
-
split vartically: ctrl+b %
-
move between panes: ctrl+b then keyboard-arrow
-
close window/pane: ctrl+b x
-
exapand pane: ctrl+b + keyboard-arrow
-
tmux commands
- tmux - start
- tmux new -s work
- tmux ls - list tmux sessions.
- tmux attach -t SESSION_ID
- tmux attach -t work
~/.tmux.conf
set -g mouse on
tv - television
tv - installation
See description on the github page?
For older OS, go to cargo instllation
cargo install --locked television- sudo apt install bat fdclone
- On ubuntu 20
- sudo ln -s /usr/bin/batcat /usr/bin/bat
Also install
- fd - console-base lightweight file manager
- bat - cat(1) clone with syntax highlighting and git integration