diff --git a/data/commands.json b/data/commands.json index 9b7497b..a162a8f 100644 --- a/data/commands.json +++ b/data/commands.json @@ -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": [ {