Answers for "bash script get ip address of eth0"

0

bash script get ip address of eth0

ip addr show eth0 | grep "inet\b" | awk '{print $2}' | cut -d/ -f1
Posted by: Guest on March-16-2022

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language