Last active
March 19, 2020 08:15
-
-
Save ezhov-da/3a8f0e2337df51952362bfc9ef2b46d1 to your computer and use it in GitHub Desktop.
Вывод IPv4 адреса
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
==> https://habr.com/ru/company/itsumma/blog/492932/ | |
Вывод IPv4 адреса: | |
ifconfig wlp3s0 | grep inet | grep -v inet6 | awk '{ print $2 }' | |
ifconfig wlp3s0 | awk ' $1 == "inet" { print $2 }' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment