Add whoamip script to get ip
This commit is contained in:
1 parent
29eb7e6b1b
commit
3d78f2365d
1 file changed
+2
Executable
+2
@@ -0,0 +1,2 @@
|
||||
#!/usr/bin/env bash
|
||||
ip addr show wlp3s0 | awk '/inet / {gsub(/\/.*/,"",$2); print $2}'
|
||||
Reference in new issue
Block a user