awk

Apache server stats with small and useful bash script.

2013/11/29

Just copy this script to your web-server cgi-bin directory and enjoy. The script with show the common errors like 404 Error, Internal Server Error and others. It will show the User agent distribution …

cvs add files recursively – not already in repository

2013/11/12

When you have a lot of files in some repository and you have added a couple of new, in CVS there is no command to add just the new ones to the repository, so here is a workaround for that. cvs status …

BASH Script Performace

2012/01/06

Today we will look at some bash code snippests and the performance issues. Lets first look at the problem and the implemented solution: Problem: We needed to log the output of the ps command for all …

Rekursive Grep on Solaris or AIX Systems without GNU egrep -r funcionality

2011/12/16

If you work regularly on a Solaris or systems which do not have the “-r” (recursive grep) for grep, then you know what a lifesaver this command can be. Here is one from command line fu: find . -type f …

Linux hardware details.

2011/11/28

Here is one of the scripts that I found on the net while searching for something … Note the URL for the script in the Description.

Total upload and download on any interface.

2011/06/05

Something that I have been searching for a long time, finally some look inside the <a class="zem_slink” title="Procfs” rel="wikipedia” …

Ranking of the most frequently used commands

2011/01/31

Lets take a quick look at how to get the most frequently used commands on you shell. So what we need to do is this: […] <td> <div class="text codecolorer"> history | awk …

List of commands you use most often

2010/07/25

$ history | <a class="zem_slink" title="AWK" rel="homepage" href="http://cm.bell-labs.com/cm/cs/awkbook/index.html">awk '{a[$2]++}END{for(i in a){print …

concatenate compressed and uncompressed logs

2010/07/15

$ find /var/log/apache2 -name 'access.loggz' -exec <a class="zem_slink freebase/guid/9202a8c04000641f800000000001abd9" title="Gzip" rel="homepage" …

List of commands you use most often

2010/06/16

$ history | <a class="zem_slink freebase/en/awk" title="AWK" rel="homepage" href="http://cm.bell-labs.com/cm/cs/awkbook/index.html">awk …

Determine what process is listening on a port on Solaris, without lsof

2010/06/08

$ for x in `ptree | <a class="zem_slink freebase/en/awk" title="AWK" rel="homepage" href="http://cm.bell-labs.com/cm/cs/awkbook/index.html">awk '{print …

redet – build regular expression (regex) for any program.

2010/06/04

Even if someone is a regex guru there are times that people get confused with some regular expression and want to either test it out or want to some help. Behold, redet is here. Lets start with …


This website uses cookies to ensure you get the best experience on our website. Learn more Got it