More

↑ Up

While there are always more commands one can learn, I’ve tried to give a list of some very commonly used ones which are not quite as urgent to learn for beginners, but essential for proficiency. Let me know if more should be added.

Commands

  1. wc – count lines, words, bytes
  2. sort, uniq – ordering and deduplication
  3. cut, paste – slicing and merging columns
  4. xargs – build command arguments from text
  5. watch – repeat commands automatically
  6. sleep – sleep bash for a period of time
  7. find – locate files by name, size, or date
  8. bc -l - calculator
  9. du,df,free - filesystem and memory resources
  10. nvidia-smi - print report about any NVIDIA-brand graphics cards enabled

Concepts

  1. Exit codes: $?, &&
  2. Quoting: " " vs ' '
  3. Globs: *.log, traj_???.dcd
  4. Environment variables: $HOME, $PATH