Linux command: hostname

From RHS Wiki
Jump to navigation Jump to search

Get IP Address[edit]

hostname -i | awk '{ print $NF }'