Merge pull request #43 from CrazyPython/patch-1

Add ripgrep and glances
This commit is contained in:
Robert Chang
2021-08-09 00:48:20 +10:00
committed by GitHub

View File

@@ -341,8 +341,14 @@ $ less apps/settings.py
$ 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:
@@ -368,6 +374,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)