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)