Explore large files with Rowscope

Explore large files with Rowscope

Sometimes it happen that: for mistakes, because you don’t rotate your logs or perhaps they growth up really quickly, that you need to analyse a large file (> 1GB) for searching a specific pattern of text. Probably you’ll go nowhere if you try to open them with vi or worst with a graphical editor like […]

Introduction to AppArmor

If you use Ubuntu or Suse you probably already have Apparmor installed on your system, so take a moment and see how this software can help you. And also if you don’t use these distributions, this article can be interesting if you are interested at the security of your Linux Box. AppArmor (“Application Armor”) is […]

Doing calculations using bash

Doing calculations using bash

Sometimes in my small shell script i’ve to do some math, usually nothing too complex but it’s useful to do the math inside the bash script. Bash it’s really complete and among the many builtin functions there are also some mathematical functions. Using the syntax $((expression)) you can evaluate the expression. Operations allowed are quite […]

Tac and Rev to see files in reverse order

After many years of administration of Unix/Linux systems and using bash for many tasks i’ve discovered the command tac, the contrary of cat, What this command do it’s to concatenate and print files in reverse order, it writes each file to standard output, last line first. bash$ cat file1.txt This is the line 1. This […]