Поиск IP адресов в файле, используя bash

Понадобилось мне тут вывести список всех IP-адресов, встречающихся в файле. Сделать это можно следующей командой:

cat /etc/named.conf | grep listen-on | grep -Eo '([0-9]{1,3}\.){3}[0-9]{1,3}'

42 комментария к “Поиск IP адресов в файле, используя bash

  1. The following time I check out a blog, I really hope that it does not dissatisfy me as long as this. I mean, I know it was my selection to read, yet I actually thought youd have something fascinating to say. All I listen to is a bunch of yawping regarding something that you can fix if you werent also busy looking for attention.

  2. This is the right blog for anybody that wishes to learn about this topic. You recognize so much its virtually difficult to argue with you (not that I actually would want?HaHa). You definitely placed a new spin on a subject thats been written about for several years. Wonderful stuff, simply wonderful!

  3. There are some interesting moments in this short article however I don?t understand if I see every one of them center to heart. There is some validity however I will certainly hold viewpoint up until I look into it additionally. Great short article, thanks and also we want more! Added to FeedBurner as well

  4. An excellent share, I simply given this onto a colleague who was doing a little analysis on this. And he actually acquired me breakfast because I located it for him. smile. So let me reword that: Thnx for the reward! However yeah Thnkx for spending the moment to discuss this, I feel strongly regarding it as well as like reading more on this topic. Ideally, as you become expertise, would certainly you mind upgrading your blog with even more details? It is extremely valuable for me. Big thumb up for this article!

  5. Aw, this was a really nice article. In idea I wish to place in creating similar to this additionally? taking some time and also real initiative to make an excellent short article? but what can I claim? I hesitate alot and never seem to obtain something done.

  6. After research a few of the blog posts on your site currently, and I absolutely like your means of blogging. I bookmarked it to my book mark website list as well as will certainly be inspecting back quickly. Pls have a look at my internet site also and let me recognize what you assume.

  7. This may be the appropriate weblog for anybody who hopes to discover this topic. You realize so much its virtually challenging to argue to you (not too I actually would want…HaHa). You actually put a new spin with a topic thats been discussing for a long time. Wonderful stuff, just fantastic!

  8. Substantially, the post is really the sweetest on this precious topic. I fit in with your conclusions and will eagerly look forward to your coming updates. Simply saying thanks will not simply be enough, for the awesome lucidity in your writing. I will at once grab your rss feed to stay abreast of any updates. Genuine work and much success in your business efforts!

  9. That is a really amazing powerful resource that you’re offering and you just provide it away cost-free!! I that can compare with discovering websites which comprehend the particular valuation on providing you with fantastic learning resource for zero cost. We truly dearly loved examining this web site. Have fun here!

  10. Oh my benefits! an incredible short article guy. Thanks However I am experiencing problem with ur rss. Don?t know why Not able to subscribe to it. Is there any individual obtaining similar rss issue? Anyone that understands kindly respond. Thnkx

  11. The next time I read a blog site, I really hope that it does not dissatisfy me as high as this. I imply, I understand it was my option to check out, however I in fact assumed youd have something interesting to claim. All I listen to is a bunch of grumbling concerning something that you can fix if you werent also hectic trying to find focus.

  12. I?m pleased, I should claim. Really seldom do I run into a blog site that?s both informative and also entertaining, and also let me tell you, you have hit the nail on the head. Your concept is superior; the issue is something that insufficient individuals are talking wisely around. I am extremely pleased that I stumbled across this in my look for something relating to this.

  13. The next time I check out a blog site, I really hope that it doesn’t disappoint me as much as this one. I indicate, I understand it was my choice to review, however I really assumed youd have something interesting to claim. All I hear is a number of yawping concerning something that you could fix if you werent as well hectic looking for focus.

  14. Aw, this was a really great message. In concept I would like to place in composing such as this in addition? taking time and also actual initiative to make a very good write-up? however what can I claim? I put things off alot as well as by no means appear to get something done.

  15. The next time I check out a blog site, I really hope that it doesn’t dissatisfy me as much as this. I suggest, I understand it was my selection to check out, however I in fact assumed youd have something fascinating to say. All I hear is a number of yawping concerning something that you might repair if you werent too active trying to find interest.

  16. I?m satisfied, I need to state. Actually seldom do I run into a blog that?s both instructional as well as enjoyable, as well as let me inform you, you have actually struck the nail on the head. Your concept is exceptional; the problem is something that insufficient people are speaking smartly around. I am very satisfied that I stumbled across this in my search for something associating with this.

  17. This is the appropriate blog site for any person that intends to discover this subject. You recognize so much its virtually tough to say with you (not that I really would want?HaHa). You most definitely put a brand-new spin on a subject thats been covered for several years. Terrific things, just great!

Оставить ответ

Ваш адрес email не будет опубликован. Обязательные поля помечены *