Add ag and locate.
parent
3a11ae7f33
commit
25d95835ee
|
@ -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`
|
||||
|
||||
|
|
Loading…
Reference in New Issue