From de9e922db3c4d4d1f547c451433253dafc04c759 Mon Sep 17 00:00:00 2001 From: James Date: Wed, 30 Sep 2020 13:47:10 -0400 Subject: [PATCH] Add ripgrep and glances --- readme.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/readme.md b/readme.md index 4c95416..1be4151 100644 --- a/readme.md +++ b/readme.md @@ -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)