/cli-tools-skills-amnesty

Lesson notes for CLI tools training

Primary LanguageVim Script

Command line tools - skills amnesty

1. Hello world

  • pwd, cd, ls, mkdir, rm, touch
  • file permissions
  • find
  • pipes, redirection

2. Text processing

  • echo, cat, more, less, head, tail
  • [e|f][z]grep, sed, awk
  • sort, uniq

3. Shell

  • quoting
  • variables and substitution
  • running commands in scripts
  • script arguments
  • looping
  • functions

4. curl and friends

  • curl
  • wget
  • jq
  • Bonus: tmux

5. vi

  • insert and normal mode
  • movement (jkl; b, w, ^, $, Ctrl-B, Ctrl-F)
  • searching (/, ?, n, p, *), replacement
  • i, a, d, c
  • yanking and pasting
  • saving, quitting