Matt’s list of useful Linux Commands

Here is a list of commands that I find useful on a Linux command line.

  • du -sh $dir – find the size of a directory
  • grep -H -r “$string” /path/to/files – search through all files in a directory for a specific string. pipe through grep again to search through the list.

To be continued.