commit 087512b469adf383b6c76707a0001bd8b7129ae0
parent e5c96f7ae97f0c8974fff1c516303b39fafe2494
Author: Chris Roberts <chris.roberts@learningunix.net>
Date: Sat, 13 Jun 2026 06:53:14 -0500
added nmap line for finding hostnames
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/cheat-sheet.sh b/cheat-sheet.sh
@@ -2,7 +2,8 @@
commandList="tea
git
-hcloud"
+hcloud
+nmap -sn 192.168.0.0/24 2>/dev/null | grep -E 'report|MAC' "
if ! command -v wofi >/dev/null 2>&1; then
echo "wofi is not installed"