commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
There are several other options. This one is plain and simple.
Another option is:
nmap -sP 192.168.0.0/24
There are 5 alternatives - vote for the best!
You send a unicast ICMP packet to each host. Many firewalls will drop that ICMP. However, in order to send the ICMP, you'll have first done an ARP request and the remote machine is unlikely to ignore that, so the computer will be in your ARP table.
If you can do better, submit your command here.
You must be signed in to comment.