search and compression commands

This commit is contained in:
2025-12-11 14:48:15 +01:00
parent 9946cfddbc
commit 64fb5a28df
+9 -1
View File
@@ -21,9 +21,17 @@
"desc": "Show open ports on current host (linux)"
},
{
"command": "echo Hostname: $(hostname); echo Local_IP: $(hostname -I | awk '{print $1}'); echo Default_Gateway: $(ip route | awk '/default/ {print $3}')",
"command": "echo Hostname: $(hostname); echo Local_IP: $(hostname -i | awk '{print $1}'); echo Default_Gateway: $(ip route | awk '/default/ {print $3}')",
"desc": "Print IP Address, Hostname, Default Route"
}
{
"command": "find . -type f -iname 'myfile.txt'",
"desc": "Search for a specific file in folder (recursive, case-insensitive (use -name for case sensitive))"
},
{
"command": "zip -r folder_name.zip folder_name",
"desc": "Zip a folder and all of its contents into a archive"
}
],
"python": [
{