find

cmd/find

Find files by name pattern

Overview

find locates files by name pattern.

Use it to quickly search paths by filename fragments.

Example usage:

find config
find "*.service" /config/services
find kernel /cache

Usage

  • find <pattern> [path]

Exit Codes

CodeMeaning
0 Success
1 Runtime/command error
2 Invalid flags/usage