find Unix Utility

From GM-RKB
(Redirected from find Utility)
Jump to navigation Jump to search

A find Unix Utility is a Unix utility that is a file system search utility.

  • Example(s):
    • find . -type d -maxdepth 1 ! -type d -name '[!.]*' -print; find all directories in the current working directory.
    • find /var/log -name '*.csv' -exec grep --with-filename 'str ing' {} \;
    • find /var/log \( -name '*.csv' -o -name '*.tsv' \) -exec grep --with-filename 'str ing' {} \;
  • Counter-Example(s):
  • See: File Operation.


References

2013