LOCATE(1) | General Commands Manual | LOCATE(1) |
locate | [-d dbpath] pattern |
Shell globbing and quoting characters (``*'', ``?'', ``\'', ``['' and ``]'') may be used in pattern, although they will have to be escaped from the shell. Preceding any character with a backslash (``\'') eliminates any special meaning which it may have. The matching differs in that no characters must be matched explicitly, including slashes (``/'').
As a special case, a pattern containing no globbing characters (``foo'') is matched as though it were ``*foo*''.
Options:
Woods, James A., Finding Files Fast, ;login, 8:1, pp. 8-10, 1983.
April 19, 2004 | NetBSD 6.1 |