TroubleChute Logo
VIDEOS

Easily find IP & Router Address in CMD | Grep/FindStr in Command Prompt | CMD TIP


Published: Oct 31, 2022
Last Edit: Oct 31, 2022
106 Words, 0 Minute.

Watch the video:


Timestamps:
0:00 - Explanation
0:22 - Normal method (ipconfig)
0:56 - Simplifying/Searching ipconfig (findstr)
1:56 - Searching for multiple lines
2:28 - Linux Grep example

Ever wanted to use Grep in the Windows CMD or just display lines that contain text? Well, this video shows you the basic usage of findstr, a simple tool to search output from a command and display exactly what you want to see. As an example, you can show JUST your IP address and the router’s IP address for easy reference when port forwarding, etc.

ipconfig | findstr /i “ipv4”
ipconfig | findstr /i “gateway”
ipconfig | findstr /i “ipv4 gateway”

TroubleChute © Wesley Pyburn (TroubleChute)
Support Me Privacy Policy Cookies Policy Terms of Service Change privacy settings Contact