Add ripgrep and glances

This commit is contained in:
James 2020-09-30 13:47:10 -04:00 committed by GitHub
parent a1b07e2b47
commit de9e922db3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -339,8 +339,14 @@ $ cat apps/settings.py | less
$ grep -i "Query" file.txt
```
Search all files in current working directory, quickly: (entire disk in less than 15 minutes)`brew install ripgrep`
![grep](./grep.jpg)
```shell
$ ripgrep -i "Query"
```
## view an image
**STOP USING PREVIEW** :-1:
@ -366,6 +372,19 @@ $ df -h
$ top
```
To install:
```shellt
$ brew install python3
$ pip3 install glances
```
```shell
$ glances
```
`glances` will tell you when your computer is under load, and whether it's due to memory or CPU.
## Quick tips
![CLI tips](./cli_tips.jpg)