Add ag and locate.

This commit is contained in:
Joshua Levy 2015-05-31 14:46:32 -07:00
parent 3a11ae7f33
commit 25d95835ee

View file

@ -2,7 +2,7 @@
- [Basics](#basics)
- [Everyday use](#everyday-use)
- [Data processing](#data-processing)
- [Processing files and data](#processing-files-and-data)
- [System debugging](#system-debugging)
- [One-liners](#one-liners)
- [Obscure but useful](#obscure-but-useful)
@ -116,7 +116,11 @@ Scope:
```
## Data processing
## 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).
- For general searching through source or data files (more advanced than `grep -r`), use [`ag`](https://github.com/ggreer/the_silver_searcher).
- To convert HTML to text: `lynx -dump -stdin`