Linux / Bash
Last updated
Last updated
check disk usage: df -h
check mem usage: free -m
list by date: ls -trla
cd -
to switching between previous working directory.
CTRL+R
to search history (reverse-i-search
), press again to search incrementally.
Movements
CTRL+U
clear current line
CTRL+A
jump to start of line; CTRL+E
jump to start of line
reload after editing .zshrc: . ~/.zshrc
use history search plugin:
CMD + D
vertical split
CMD + SHIFT + D
horizontal split
Refs: