Linux / Bash
Commands
check disk usage:
df -hcheck mem usage:
free -mlist by date:
ls -trlacd -to switching between previous working directory.
Bash
CTRL+Rto search history (reverse-i-search), press again to search incrementally.
Movements
CTRL+Uclear current lineCTRL+Ajump to start of line;CTRL+Ejump to start of line
zsh
reload after editing .zshrc:
. ~/.zshrcuse history search plugin: http://unix.stackexchange.com/a/248789
iTerm2
CMD + Dvertical splitCMD + SHIFT + Dhorizontal split
Refs:
Last updated