Get your local IP address like pro

In shell scripts if you need to get you local IP address corresponding to your hostname then you can use this command

hostname -i

This site uses Akismet to reduce spam. Learn how your comment data is processed.