I want to make big script on my Debian 7.3 ( something like translated and much more new user friendly enviroment ). I have a problem. I want to use only some of the informa
If you want to get a space separated list of your IPs, you can use the hostname command with the --all-ip-addresses (short -I) flag
hostname
--all-ip-addresses
-I
hostname -I
as described here: Putting IP Address into bash variable. Is there a better way?