The sys admin’s daily grind – Biabam and Tre-agrep

Take Two

Article from Issue 144/2012

Most of the tools that show up in this column are small, smart, fast, and easily explained. This month is no exception; we feature a dynamic duo of tools.

If something goes wrong on one of my systems, I have the system send me an email – fortunately, I have never experienced a situation in which Postfix went haywire. I normally just use the mail command for this.

However, it is difficult if you want to attach a file, such as a dump or a graphical overview by Munin. Some unsavory workarounds convert binary data into ASCII and create the necessary header so you can feed the whole enchilada to the mail command without any serious accidents, but life is so much easier with the right tool for the job.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Command Line – tre-agrep

    Tre-agrep has all of grep's functionality but can also do ambiguous or fuzzy searches without deep knowledge of regular expressions.

  • agrep

    The agrep tool expands on grep by adding fuzzy search capabilities to text string-matching operations.

  • Charly's Column

    The latest trend is to hide spam in images. The admin’s response: an OCR tool that extracts the texts and feeds them to the spam filter.

  • Charly's Column: SSLScan

    If, like our author Charly, you manage SSL-secured servers, read on to discover a tool that you will definitely appreciate. It checks whether the complete security setup is up to date.

  • Charly's Column: lsof

    The shorter a command, the longer the list of support parameters. This rule applies to lsof, one of Charly’s favorite commands.

comments powered by Disqus

Direct Download

Read full article as PDF:

056-056_charly.pdf (432.06 kB)