ip address show

From wikieduonline
Revision as of 10:23, 20 September 2023 by Welcome (talk | contribs) (→‎Related commands)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This article is a Draft. Help us to complete it.

  • ip addr show | grep "inet " | grep -v 127.0.0.1


  • MACHINE_IP=$(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1)

Related commands[edit]

See also[edit]

Advertising: