find ip address of raspberry pi ethernet pc code example Example 1: get ip of raspberry pi hostname -I Example 2: find raspberry pi ip on local network ping raspberrypi.local