raspberry pi get ip code example
Example 1: get ip of raspberry pi
hostname -I
Example 2: ping raspberry pi
ping raspberrypi.local
Example 3: find ip address rpi with nmap
nmap -sV -p 22 192.168.1.0/24
Example 4: raspberrypi.local
Run this
sudo apt-get install avahi-daemon