summaryrefslogtreecommitdiff
path: root/misc/wmip
diff options
context:
space:
mode:
authorTim Keller <tjkeller.xyz>2024-11-17 23:34:54 -0600
committerTim Keller <tjkeller.xyz>2024-11-17 23:34:54 -0600
commit09ada24d4ec23cf24ab136141b354953d1bbc2fa (patch)
tree2c41e87c71ad3f3cd67a8bea0c1413efbab4087d /misc/wmip
parent090a3a31683eb08b91351e4d1508a0a73a310a38 (diff)
downloadscripts-09ada24d4ec23cf24ab136141b354953d1bbc2fa.tar.xz
scripts-09ada24d4ec23cf24ab136141b354953d1bbc2fa.zip
reorganize scripts
Diffstat (limited to 'misc/wmip')
-rwxr-xr-xmisc/wmip2
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/wmip b/misc/wmip
new file mode 100755
index 0000000..56fe23d
--- /dev/null
+++ b/misc/wmip
@@ -0,0 +1,2 @@
+#!/bin/sh
+ip a | awk '!/ (lo|dummy|virbr)/ && /inet / { sub(/\/.*/, "", $2); printf "%-12s %s\n", $NF":", $2 }'