Add whoamip script to get ip
This commit is contained in:
1 parent
44ac5914b3
commit
3390cd904c
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