Unix
- Vim, Git
- ssh, Rsync, scp
- Shell, Bash, Zsh
- find, FZF, ripgrep
- AWK, sed
- Autorun commands on file changes with entr
- Parse JSON from the Shell jq
- convert output of standard unix tools to JSON with
jc
- Parse YAML from the Shell with
yq
Basic Commands
- fstab
- lsof — list open files and ports
- cron — schedule commands to run
- Converting
- Disk Tools
- udefrag
- LVM
- efibootmgr — change the UEFI Boot Manager configuration
- Networking Tools
- Debugging
Noteworthy Shell Commands
Command | Description |
---|
shred | secure delete file from disk by overwriting file |
zcat , zgrep , zdiff | work directly with compressed files |
locate -i {pattern} | find file from pattern from updatedb database |
true | do nothing, successfully |
aspell | spell checking in the terminal |
man -k zathura | list all zathura man pages |
bc | calculator |
gnuplot | plotting with cli |
inxi -Fxz | get system information |
XVFB | run virtual X session on headless devices |
yes | avoid interactive programs |
up | interactive pipe plumbing |
script | record shell script session |
scriptreplay | replay recorded script |
less +F | follow files (use instead of tail -f) |
whatis | display one-line manual page descriptions |
appropros | search the manual page names and descriptions |
proxychains | force TCP connections through SOCKS proxy |
blkid | list drive and partition types |
lsblk -d -o name,rota | check if disk is SSD (0) or HDD (1) |
Tool | Description |
---|
vifm | vim like file manager |
vimiv | vim like image viewer |
Mastodon | open source slack alternative |
mitmproxy | Man in the middle proxy |
luastatus | Polybar alternative |
Tool | Description |
---|
tc | slow down brothers network speed |
ngrep | grep for network |
tcpdump | show me packets on a port |
tshark | cmdline packet analysis |
tcpflow | capture & assemble TCP streams |
mitmproxy | spy on SSL connectinos your programs are making |
pof | identify OS of hosts connecting to you |
netstat /ss /lsof /fuser | what ports are servers using |
nftables | newer iptables |
hping3 | construct any TCP packet you want |
traceroute/mtr | what servers are on the way to that server? |
tcptraceroute | use tcp packets instead of icmp to traceroute |
ethtool | manage physical ethernet connections & network cards |
iw/iwconfig | manage wireless network settings |
systctl | configure linux kernel network stack |
stunnel | make a SL proxy for an insecure server |
iptraf /nethogs /iftop /ntop | see what’s using bandwidth |
ab /nload /iperf | benchmarking tools |
python3 -m http.server | serve files from a dir |
ipcalc | calculate ip’s |
nsenter | enter a container process’s network namespace |
sd | modern sed replacement |
fd | modern find replacement |
skopeo | container inspection tool |