There are several different methods you can use to find your IP address on the Linux operating system. I find the below method the quickest and easiest method.
1. Open a SSH session to the server or open up a terminal window.
2. Enter the below command.
192.168.1.172 is the IP address of the server in this example.
You can also use the short version of the command which is listed below.