This website requires JavaScript.
Explore
Help
Sign In
hektor
/
dots
Watch
1
Star
0
Fork
You've already forked dots
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
ffb424d220
dots
/
.bin
/
whoamip
3 lines
83 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Add whoamip script to get ip
2020-05-13 19:07:44 +02:00
#!/usr/bin/env bash
Show all ip addresses without argument
2021-01-09 14:28:36 +01:00
ip addr show $@ | awk '/inet / {gsub(/\/.*/,"",$2); print $2}'