Rdragon
DNS Security Tester
LEVEL 1
400 XP
HOW TO CHECK YOUR IP ADDRESS ON LINUX & WINDOWS
Linux:
Windows:
Linux:
- Open a terminal:
- Press Ctrl + Alt + T to open a terminal in most Linux distributions.
- Use the ifconfig or ip command:
- To check your IP address along with other network information, use the ifconfig command:
Copy code
ifconfig - Alternatively, you can use the ip command to get similar information:
sqlCopy code
ip addr show
- To check your IP address along with other network information, use the ifconfig command:
- Find your IP address in the output:
- Look for the section corresponding to your network interface (e.g., eth0 for wired connections, wlan0 for wireless connections), and find the line labeled inet or inet6 followed by your IP address.
Windows:
- Open Command Prompt or PowerShell:
- Press Windows key + R, type cmd, and press Enter to open Command Prompt.
- Alternatively, press Windows key + X, and select "Windows PowerShell" from the menu.
- Use the ipconfig command:
- Type the following command and press Enter:
Copy code
ipconfig
- Type the following command and press Enter:
- Find your IP address in the output:
- Look for the section corresponding to your network adapter (e.g., Ethernet adapter for wired connections, Wireless LAN adapter for wireless connections), and find the line labeled IPv4 Address or IPv6 Address followed by your IP address.