Searching the Unix Tree

  • find

    • Searches directories to find a directory or file.

find ~ -name arrayDat*
  • grep

    • Searches a file for a specific pattern.

    • Can be used similarly to find, but it also searches file contents.

grep -r "arrayDat*" .

Last updated

Massachusetts Institute of Technology