linux linux: IP and hostname in the same line June 16, 2018 rpseneLeave a comment A simple composition of commands to print the hostname and IP in the same line: Share this:Click to share on Pocket (Opens in new window)Click to share on LinkedIn (Opens in new window)Click to share on Facebook (Opens in new window)Click to share on Twitter (Opens in new window)Click to share on Telegram (Opens in new window)Click to share on WhatsApp (Opens in new window)Click to print (Opens in new window)Click to email a link to a friend (Opens in new window)Like this:Like Loading...