From 53ce282ff250d3e7a0cb8b673d5e5e96a31b1256 Mon Sep 17 00:00:00 2001 From: vl4dd Date: Thu, 8 Apr 2021 03:41:49 -0400 Subject: [PATCH] Adds htop picture + wget and oneliner information --- Linux/basic_cmd.md | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/Linux/basic_cmd.md b/Linux/basic_cmd.md index 61175bb..4b7382c 100644 --- a/Linux/basic_cmd.md +++ b/Linux/basic_cmd.md @@ -308,6 +308,19 @@ $ realpath example.txt /home/username/example.txt ``` +## how to navigate in a web page source code + +- Wget: The non-interactive network downloader + +``` + $ wget www.tandemlaw.be +``` +- search url inside index.html +[Bashoneliners.com](bashoneliners.com) + +```bash +$ cat index.html | grep -o "https.*" |cut -d "\"" -f1 |sort | uniq +``` ## text editor - Nano: Nano's ANOther editor, an enhanced free Pico clone (simple text editor for noobies) @@ -320,7 +333,7 @@ $ realpath example.txt > $ vim -> $ vim filename +> $ vim filename # APT > $ apt install @@ -358,3 +371,7 @@ $ realpath example.txt - dhclient > get ip - gnome networkmanager - wpa_supplicant > encryption @ wifi + +# note : add HTOP picture (use f5) + +![htop](./img/htop.png)