Tag Archives: Shell

[repost] Howto Exclude Files From Wildcard Matches In bash

preface: This is a repost of an article I wrote more than ten years ago on our company homepage. Despite its age, the page still receives huge amounts of traffic and so I am reposting it here on my blog because the original article will vanish from our official company homepage soon. Imagine you have Continue Reading →

Spread the love

[repost] How To Repair Corrupt tar Archives

[update]:¬†there is a follow up article with a more efficient solution. You can find it here¬†http://riaschissl.bestsolution.at/2015/03/repair-corrupt-tar-archives-the-better-way/ preface: This is a repost of an article I wrote more than ten years ago on our company homepage. Despite its age, the page still receives huge amounts of traffic and so I am reposting it here on my Continue Reading →

Spread the love

shell stuff: highlight matches within files

Sometimes one has to deal with a number of log files where you want to see all the logging lines as they occur, but also highlight certain arbitrary strings within those files. Say for example, you want to (almost) realtime monitor the following log files: /var/log/daemon.log/var/log/auth.log/var/log/secure.log The easiest way to monitor those files is to Continue Reading →

Spread the love