Quickly ping range of IP adresses and return only those that are online

{ for i in {1..254}; do ping -c 1 -W 1 192.168.1.$i & done } | grep "64 bytes"
Tested in Debian, ymmv. - c 1 : send only one ping;; -W 1: wait for one second and then exit ping, assuming target IP is not available; change as needed (-W 0.5 for half a second, smaller or greater value depending on network speed/latency)

By: test666v2
2021-04-25 17:52:30

1 Alternatives + Submit Alt

What Others Think

This link http://robloxfreerobuxgenerator.com/ will let you to get free robux, robux generator and roblox robux generator and many others which will help you play roblox much comformtably.
sahay007 · 8 weeks ago
Thank you so much for sharing this great blog. Very inspiring and helpful too. Hope you continue to share more of your ideas. I will definitely love to read. https://pergolaswollongong.com/
johnlead · 7 weeks and 6 days ago
Although purchasing Instagram followers from http://bmmagazine.co.uk/business/top-4-websites-to-buy-instagram-followers-uk/ offers some advantages, it should also be considered that purchasing followers can cost money. Business owners that want to increase their follower count but do not have the money to spend on it should consider purchasing Instagram users. from third parties that can help them grow their online following.
karlnwilson · 7 weeks and 6 days ago
This is really a great article and a great read for me. It's my first visit to your blog and I have found it so useful and informative specially this article. Regards, Case Management System
Devid · 7 weeks and 6 days ago
Gmail [url= https://mail.google.com]Gmail[/url]
wativ · 7 weeks and 3 days ago
This is so far the best command in few days and also on your site as ping always being too distracting for everyone. http://wativ.com/promo-codes/omio.com/">omio coupon code will keep this ping in its another online booking & surely use this command.
wativ · 7 weeks and 3 days ago
This is so far the best command in few days and also on your site as ping always being too distracting for everyone. omio will keep this ping in its another online booking & surely use this command.
wativ · 7 weeks and 3 days ago
It's really cool 'cause nmap automatically filters hosts that are up and it gives you host type + MAC Address. Excellent. Thanks also for explaining about Python. jcpenney kiosk
Langosh · 6 weeks and 5 days ago
IP address, cool one www.marriagecounselingdallastx.com
geebranz · 5 weeks and 4 days ago
Excellent article, i love this! Mobile Groomer Mobile Groomer Mobile Groomer
moonman98 · 4 weeks and 6 days ago
This is a brilliant post and a fantastic reading for me https://iogames.onl/build-royale-io. It's my first blog visit and I found this post particularly helpful and insightful https://iogames.onl/shell-shockers
jillianmontague · 4 weeks and 6 days ago
Thanks lot this is worked for me https://jcpenneyassociatekiosk.live/
sayyadali · 4 weeks and 4 days ago
Interesting idea! I would love to know more about it. [Air conditioning system inspections](https://www.memphistninspectors.com)
homeinspector · 1 week and 3 days ago
Here is an article that touches on so many good points that I read. In general, your viewpoints match mine. You are providing great content to your readers. Red Leather jacket
johnmack · 1 week and 1 day ago
If you as a student want to pay someone to do my assignment UK then we are the right people to reach out. All you have to do is visit our website and hand over all of the homework you can’t find the time or motivation to do. Our team of academic writers will get it completed and ready for submission before the deadline. Our team will ensure that every assignment you hand to us gets completed on time.
gracedawkins · 5 days ago
approaches to remain productive and strain-unfastened in the course of this confusing time. finding the right skills to your startup might be easier with those proven hiring guidelines.  VoIP virtual phone number
onlinenewne · 9 hours ago
end Us Your Inquiry and Get Free Quote ... Dubai Glass and Aluminum Works in Dubai, UAE. We are pioneers in Glass, Frameless Shower Enclosure, Aluminum and Mirror works in the Dubai, United Arab Emirates, for over 5 years of this field c ontact us [url=http://www.glassmirror.ae/]glasspartitiondubai[/url]
faaiz00 · 6 hours ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands

Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: