Add whoamip script to get ip
This commit is contained in:
2
.bin/whoamip
Executable file
2
.bin/whoamip
Executable file
@@ -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