All HowTo's Linux Scripting in Bash Ubuntu, Mint & Debian Linux

Terminal Tip – Find your IP quicker

This one is old and simple but can save you time when trying to get the IP address of the machine you are working with, you will not have to scroll through other bits of information just to find your IP, this is designed for a system with a single interface otherwise you will return multiple results but not know which adapter they are for.

ifconfig | grep inet

This will work for most linux distros and Mac OSX