getting ip addres in raspberry pi terminal code example
Example 1: ping raspberry pi
ping raspberrypi.local
Example 2: find ip address rpi with nmap
nmap -sV -p 22 192.168.1.0/24
ping raspberrypi.local
nmap -sV -p 22 192.168.1.0/24