LinkedInTwitterFacebook

Bash: Get IP and IPv6 address and interfaces.

First use this commands to see your IP and IPv6 address and interfaces.

Now if you want to use this every day, just open your .bashrc file from your home folder.
Add this functions to the .bashrc file:

Now open a new terminal shell and use it:

Share