Skip to main content

Command Line Interface

Text-based interface.

Notes

Commonly forgot tricks

  • > for override, >> for append
  • echo $PATH | tr ':' '\n'
    • Echo all path per line

Network related

  • curl -d '{"key":"value"}' https://domain.com/path/to/file
    • POST request

Resources

Sites

  • Modern Unix
    • A collection of modern alternatives for some classic Unix commands
  • Explain Shell
    • Visually breaking down and explaining a shell command
  • tldr.sh
    • Simplified and community-driven manual
  • Command Line Fu
    • Searchable list of community recorded command line gems
  • Pure sh bible
    • List of methods doing various tasks using only built-in POSIX sh features
  • cheat.sh
    • Quick references for common CLI commands