made name follow convention

This commit is contained in:
2025-11-18 22:18:19 -05:00
parent d554eefbb3
commit 17b96c7cc6
+6
View File
@@ -0,0 +1,6 @@
#!/bin/sh
ip -4 addr list scope global | sed -n 's/.*inet \([0-9\.]\+\).*/\1/p' | head -n 1
#ip addr show | grep 'global' | grep -oE 'inet [0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}' | grep -oE '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}' | head -n 1