Find ASCII files and extract IP addresses

find . -type f -exec grep -Iq . {} \; -exec grep -oE "(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)" {} /dev/null \;

0
By: wuziduzi
2020-09-13 03:06:22

What Others Think

All commands are clearly explained for us with the best examples. It is most helpful for us because too easy for us to follow your post. All the time I came to know about new topics which I like the most from here. more here
zaiyamariya · 22 weeks and 1 day ago
hai [url=https://www.google.com]nice![/url]
leonamargret · 20 weeks and 1 day ago
great content! will recommend this site to my friends
looneyhans · 17 weeks and 5 days ago
Excellent website, great work. Your commands couldn’t have most certainly been written any better.
wendyparis19 · 17 weeks and 4 days ago
helped me alot. thanks again hair extensions new orleans
looneyhans · 17 weeks and 1 day ago
guitar lessons nashville I was just wondering... I'm an android user now but I want to change it to apple. How can I get started?
yeoyeo · 14 weeks and 5 days ago
Thanks for letting us know about this command. I will be now able to trace my own errors in my project. I like tumblr adult content
Davidmal · 13 weeks and 6 days ago
great. nice to know fencinglexingtonky.com
looneyhans · 13 weeks and 2 days ago
nice and helpful! bathroomremodelingcorpuschristi.com
Killersmile · 12 weeks and 5 days ago
awesome site thanks alot business coach phoenix
looneyhans · 10 weeks ago
eyelash extensions Great content and will certainly come back again, good job
idasanka · 8 weeks and 6 days ago
I haven’t any word to appreciate this post.....Really i am impressed from this post....the person who create this post it was a great human..thanks for shared this with us. maison intelligente
bojokey283 · 8 weeks and 4 days ago
great job! i l love it! couples counseling
idasanka · 8 weeks and 4 days ago
I can see that you are an expert at your field! I am launching a website soon, and your information will be very useful for me.. Thanks for all your help and wishing you all the success in your business. I can see that you are an expert at your field! I am launching a website soon, and your information will be very useful for me.. Thanks for all your help and wishing you all the success in your business.
xoheko1229 · 8 weeks and 2 days ago
Great write-up, I am a big believer in commenting on blogs to inform the blog writers know that they’ve added something worthwhile to the world wide web!.. abonnenten24
bojokey283 · 7 weeks and 4 days ago
I'm glad I found this web site, I couldn't find any knowledge on this matter prior to.Also operate a site and if you are ever interested in doing some visitor writing for me if possible feel free to let me know, i am always look for people to check out my web site. automação doméstica
bojokey283 · 7 weeks and 3 days ago
This article gives the light in which we can observe the reality. This is very nice one and gives indepth information. Thanks for this nice article. digital marketing
bojokey283 · 7 weeks and 3 days ago
great job! i l love it! couples counseling
gamecax · 7 weeks and 1 day ago
hearing aids corpus christi I think I need more information
yeoyeo · 6 weeks and 6 days ago
Great write-up, I am a big believer in commenting on blogs to inform the blog writers know that they’ve added something worthwhile to the world wide web!.. rubbish removal bridgend
bojokey283 · 5 weeks and 5 days ago
Admiring the time and effort you put into your blog and detailed information you offer!.. alquiler de carros en barranquilla
bojokey283 · 5 weeks and 5 days ago
I can see that you are an expert at your field! I am launching a website soon, and your information will be very useful for me.. Thanks for all your help and wishing you all the success in your business. Hausautomation
bojokey283 · 5 weeks and 2 days ago
I can see that you are an expert at your field! I am launching a website soon, and your information will be very useful for me.. Thanks for all your help and wishing you all the success in your business. tree surgeons colchester
bojokey283 · 5 weeks and 1 day ago
http://www.google.com">see more
Alyssalauren · 5 weeks and 1 day ago
see more
Alyssalauren · 5 weeks and 1 day ago
I can see that you are an expert at your field! I am launching a website soon, and your information will be very useful for me.. Thanks for all your help and wishing you all the success in your business. coronavirus isla mujeres
bojokey283 · 4 weeks and 4 days ago
love your ideas! eat
sammm · 3 weeks and 5 days ago
Nice to be visiting your blog again, it has been months for me. Well this article that i’ve been waited for so long. I need this article to complete my assignment in the college, and it has same topic with your article. Thanks, great share. best places to eat in cozumel
bojokey283 · 3 weeks and 3 days ago
I can set up my new idea from this post. It gives in depth information. Thanks for this valuable information for all,.. covid isla mujeres
bojokey283 · 2 weeks and 3 days ago
I can set up my new idea from this post. It gives in depth information. Thanks for this valuable information for all,.. ?????
a02134679 · 1 week and 1 day ago
I can set up my new idea from this post. It gives in depth information. Thanks for this valuable information for all,.. https://www.totoguard.com
a02134679 · 1 week and 1 day ago
Good write-up, I¡¦m normal visitor of one¡¦s blog, maintain up the nice operate, and It is going to be a regular visitor for a long time. toto
a02134679 · 1 week and 1 day ago
I am another client of this site so here I saw different articles and posts posted by this site,I inquisitive more enthusiasm for some of them trust you will give more data on this subjects in your next articles. http://www.mv1004tv.com/">sportstv
a02134679 · 1 week and 1 day ago
am another client of this site so here I saw different articles and posts posted by this site,I inquisitive more enthusiasm for some of them trust you will give more data on this subjects in your next articles. www.mv1004tv.com
a02134679 · 1 week and 1 day ago
You have a very good site, well constructed and very interesting i have bookmarked you hopefully you keep posting new stuff. toto
a02134679 · 1 week and 1 day ago
Make sure your motorcycle delivery service does all of this,keep doing in the same way with this aceservicesbristol site. totosite
a02134679 · 1 week and 1 day ago
We arrived on your weblog whilst concentrating simply somewhat submits. Good technique for following, I'll be book-marking at the same time grab your own total increases sportstoto
a02134679 · 1 week and 1 day ago
Thank you for sharing such excellent info with me. I actually want to express my appreciation to you. toto
a02134679 · 1 week and 1 day ago
Make sure your motorcycle delivery service does all of this,keep doing in the same way Make sure your motorcycle delivery service does all of this,keep doing in the same way www.anmaanma.com
a02134679 · 1 week and 1 day ago
Thanks for taking the time to discuss this, I feel strongly that love and read more on this topic. If possible, such as gain knowledge, would you mind updating your blog with additional information? It is very useful for me. olcsó belföldi fuvarozás kamionnal
bojokey283 · 1 week ago
This article gives the light in which we can observe the reality. This is very nice one and gives indepth information. Thanks for this nice article. otomatisasi rumah
bojokey283 · 22 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: