Apache server stats with small and useful bash script.


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


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


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


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.


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.


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


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


$ history | <a class="zem_slink" title="AWK" rel="homepage" href="">awk '{a[$2]++}END{for(i in a){print …

concatenate compressed and uncompressed logs


$ 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


$ history | <a class="zem_slink freebase/en/awk" title="AWK" rel="homepage" href="">awk …

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


$ for x in `ptree | <a class="zem_slink freebase/en/awk" title="AWK" rel="homepage" href="">awk '{print …

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


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