Finding a device that’s connected to a network on Linux is easy with an open source tool named nmap. What is nmap? nmap is a utility for network discovery and security auditing. It’s designed to rapidly scan large networks. Install nmap nmap is available through most popular package managers. For Debian-based distributions: 1sudo apt install nmapFor MacOS: 1brew install nmapUsing nmap Firstly, grab your IP address using ifconfig 1ifconfigthe output will contain an IP.