sudo nmap -sS 192.168.1.69
Result:
Starting Nmap 6.40 ( http://nmap.org ) at 2016-07-08 01:30 BST
Nmap scan report for peter-laptop-1 (192.168.1.69)
Host is up (0.0000040s latency).
Not shown: 997 closed ports
PORT STATE SERVICE
80/tcp open http
139/tcp open netbios-ssn
445/tcp open microsoft-ds
Nmap done: 1 IP address (1 host up) scanned in 2.44 seconds