Skip to content

Latest commit

 

History

History
32 lines (19 loc) · 741 Bytes

linux_bash.md

File metadata and controls

32 lines (19 loc) · 741 Bytes

Linux / Bash

Commands

  • check disk usage: df -h
  • check mem usage: free -m
  • list by date: ls -trla
  • cd - to switching between previous working directory.

Bash

  • 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

zsh

iTerm2

  • CMD + D vertical split
  • CMD + SHIFT + D horizontal split

Refs: