mirror of
https://github.com/xmengnet/the-art-of-command-line.git
synced 2024-12-24 10:36:30 +08:00
commit
6fd77f8134
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ Scope:
|
|||
|
||||
## Processing files and data
|
||||
|
||||
- To locate a file by name in the current directory, `find . -iname '*something*'` (or similar). To find a file anywhere by name, use `locate something` (but bear in mind `updatedb` my not have indexed recently created files).
|
||||
- To locate a file by name in the current directory, `find . -iname '*something*'` (or similar). To find a file anywhere by name, use `locate something` (but bear in mind `updatedb` may not have indexed recently created files).
|
||||
|
||||
- For general searching through source or data files (more advanced than `grep -r`), use [`ag`](https://github.com/ggreer/the_silver_searcher).
|
||||
|
||||
|
|
Loading…
Reference in a new issue