scan multiple log subdirectories for the latest log files and tail them

ls /var/log/* -ld | tr -s " " | cut -d" " -f9 | xargs -i{} sh -c 'echo "\n---{}---\n"; tail -n50 {}/`ls -tr {} | tail -n1`'

By: jgleeson
2021-05-11 12:31:22

What Others Think

There are a lot of things that make me good at knowing about these things. I hope that it will be very helpful for many of them to get these type of instructions and information from here to know. Nick Ponte Marketing
zaiyamariya · 12 weeks ago
finally got the best
geebranz · 11 weeks and 6 days ago
Thoughtsmag is a professional blogging platform providing an excellent opportunity for new bloggers, entrepreneurs, professional content writers know More: file ///sdcard
ishika · 11 weeks and 6 days ago
The many Novoline machines provide even today for an exciting and particularly interesting gameplay. Because of this, you can also simply find out in the field at any time, how you can get in the few spins with a small bet also there to the particularly high winnings. As a player, you will notice that you can simply get the best winnings especially in online casinos and should also look at some information in this regard. This also shows you how to play the classics from Novoline and then also use the best chances of winning there. In a few steps, you are therefore already set to the slot machines and can also get to know some more slot machines through the new customer bonus that you get in the online casinos. With plenty of fun and excitement, you can thus get the first impressions and directly get to know what you can basically experience there. Therefore, it is not even surprising anymore to get involved in an ideal winning path there and just work out the best advantages. Nowadays, online casinos are simply more popular than ever. Due to this, you will quickly see how to come up with the best chances of winning there as well. It is no longer surprising to quickly read into the other topics and thus simply experience the special gaming fun for once. The simple fact is that even today you can be on a sure winning path and accordingly you will also receive some distinct advantages. Step by step and with every spin, you get closer and closer to your own winnings there as well. It simply makes sense if you look directly at the first winning opportunities and then look how you can also get the high profits with the right strategy. This is the only way to get an ideal winning advantage and be on the true winning side.
gausel · 11 weeks and 6 days ago
You can definitely express your expertise within the comands you made....
muneerahmed · 11 weeks and 5 days ago
Latest Technology News Updates at writefortechy: You can find all types of technology related articles here. And this place is to share your ideas to the world. Check this website for more: TamilRockers proxy
himaanshi · 11 weeks and 4 days ago
The cry of pain and agony from a cut finger/broken arm is healed with a bandaid plaster cast and sling. But where is the cure for the blind pain suffered by an OCD victim when all the crying is done on the inside.- Cannabis oils
mmjdispensary123 · 11 weeks and 3 days ago
I am really happy to say it’s an interesting post to read . I learn new information from your article , you are doing a great job . Keep it up aol desktop gold download
jessica14 · 11 weeks and 3 days ago
I think this is one of the most significant information for me. And i’m glad reading your article. Thank for sharing!
jessica14 · 11 weeks and 3 days ago
very interesting , good job and thanks for sharing such a good blog.
jessica14 · 11 weeks and 3 days ago
This post is very useful to us thanks for sharing this info with us…
jessica14 · 11 weeks and 3 days ago
That’s wonderful. many things to learn. thanks for sharing
jessica14 · 11 weeks and 3 days ago
This will be a terrific command web page, could you be involved in doing an interview about how you build it... sliding door wardrobes
muneerahmed · 11 weeks and 2 days ago
Cement is seldom used on its own, but rather to bind sand and gravel (aggregate) together. Ames concrete patio contractors
JacksonS54 · 11 weeks and 2 days ago
This command is very helpful. Thanks.
Kent35 · 11 weeks and 2 days ago
Thanks, I have just been looking for this command.. Dog clothing
muneerahmed · 11 weeks and 1 day ago
Find out the latest satta king results online as well as satta king chart 2020/2021, black satta king, satta king 786, satta king live result, sattaking
osattaking · 11 weeks ago
SattaKing [url=]Satta king [/url]
osattaking · 11 weeks ago
Wenn Sie sich für das Thema Casinospiele interessieren, empfehle ich Ihnen, zu lesen. Hier finden Sie viele nützliche und notwendige Informationen.
AmandaReih · 10 weeks and 2 days ago
I've read a lot of reviews about ejaculating dildo , they say it's very cool and worth a try. What do you think?
AmandaReih · 10 weeks and 2 days ago
Thanks for sharing this. I really enjoyed reading it. It is very good. This is interesting as well as very engaging. I couldn't stop until I finished it. play solitaire
playsolitaireaz · 9 weeks and 6 days ago
Helpful code for scanning multiple logs subdirectories. How fast does it execute? Just sharing roofing contractors medina as well
richardsikes18 · 9 weeks and 5 days ago
Thanks for a great share! This is really informative and giving us knowledge. here
johnrico022117 · 9 weeks and 1 day ago
It developed to make organizations function efficiently and profitably by reducing the cost of managing hardware infrastructure. Salesforce training gets a good popularity ensuring that the company performs well in long run. salesforce training in noida
kenwood · 9 weeks and 1 day ago
Most futons come with a regular 6 inch foam mattress, which isn't really comfortable if the futon is going to be a person principal bed. If the futon is going to be a principal bed a better alternative is to buy an innerspring mattress for the bed. Some of the manufacturers create innerspring mattresses for futons. The innerspring mattresses are a little more expensive but are as well a good deal more comfortable. If an innerspring mattress is out of your budget, try to at least raise to an 8 inch foam mattress. fleet mattress
kenwood · 8 weeks and 6 days ago
This type of branding medium is very versatile and can help a business stand out and appear more established and sophisticated. These custom embroidery patches can either be attached with a pin or sewn on. Iron-on backing is one of the more modern methods of attachment. more info
kenwood · 8 weeks and 3 days ago
I am impress of what i`ve seen here. Completely defined, keep it up all the time. ??????????????????
McauleyHanna · 8 weeks and 1 day ago
This post is valuable to us much obliged for imparting this information to us air conditioning repair
casseverhart13 · 8 weeks and 1 day ago
Have tried tailing them and it was successful. Did it with roofing contractors south gate.
bobbrencher01 · 7 weeks and 6 days ago
These days, online casinos are actually more popular than ever. Because of this, Write My Dissertation by Top UK Academic Writers you will quickly see a way to provide you with the first-class probabilities of triumphing there as nicely. The simple truth is that even these days you may be on a positive triumphing path and as a consequence, you will also get hold of some wonderful benefits.
jhonselvick · 7 weeks and 5 days ago
Your blog has a lot of interesting content, especially the discussion. I guess I am not the only one who finds all this fun here, because your articles get quite a few comments, so please keep it up. Puffer jacket
johnmack · 7 weeks and 4 days ago
Kravitz's comment has received more than 1,360 likes and the pending keep the date mailings. nicole's cousin, amber, determined out that we had announced the date and referred to as nicole upset that we had booked a marriage on her wedding business directory
christion4 · 7 weeks and 1 day ago
Have tried tailing them and it was successful. Did it with roofing contractors south gate. B?S Nh?t Nam
tintucbdsviet · 6 weeks ago
EmmaSparks · 6 weeks ago
It's good to find what I need, thanks. Games vex 4 is always a joy to everyone!
Miller01 · 5 weeks and 6 days ago
It's good to find what I need, thanks. Games vex 4 is always a joy to everyone! tin ??n Nh?t Nam group l?a ??o và s? th?t
tintucbdsviet · 5 weeks and 5 days ago
Ý t??ng kinh doanh m?i v?i th?c ph?m t?t cho s?c kh?e / Th?c ph?m ch? c? s? M?i cá nhân ? các ?? tu?i khác nhau ??u c?n th?c hi?n các thân thi?n v?i môi tr??ng. Vi?c bán th?c ph?m thân thi?n v?i môi tr??ng ?ang tr?i qua m?t th?i k? phát tri?n nhanh chóng. Ti?m n?ng c?a tr??ng là l?i ích c?a vi?c ?n u?ng lành m?nh v?n ch?a ???c th?c hi?n v?i t?t c? các mi?n và nhu c?u ngày càng t?ng. >>> b?t ??ng s?n Nh?t Nam Ví d?, nh?ng ng??i gi?m cân c?n ?n th?c ph?m ít calo, tinh b?t và ch?t béo. Trong khi nh?ng ng??i t?p th? d?c, t?ng c? c?n ?n nhi?u th?c ?n protein h?n bình th??ng. Ho?c nh?ng ng??i l?n tu?i c?n ?n nh?ng th?c ?n cân b?ng. ?ó là lý do nhi?u hình th?c buôn bán Th?c ph?m s?ch, Th?c ph?m t?t cho s?c kh?e ra ??i. Ch?c ch?n b?n c?ng ?ã có cái nhìn t?ng quan h?n ?? bi?t mình nên kinh doanh gì phù h?p nh?t khi ch?n ngành hàng ?n u?ng. >> Công ty b?s Nh?t Nam
tintucbdsviet · 5 weeks ago
Very interesting. I totally agree with you no doubt. advanced removals gloucester
aldenbaigan · 4 weeks and 2 days ago
This post is valuable to us much obliged for imparting this information to us >>> click here:
tintucbdsviet · 4 weeks and 1 day ago
Visit our site to find more about wedding photographer Northern Virginia. We offer engagement and proposal photography in Va. voyance
muneerahmed · 3 weeks and 3 days 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? 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.


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: