Solutionist's Blog

Tech | Health | Life | Travel

field separator for awk

You can change the value of FS in the awk program with the assignment operator, `=’ (see section Assignment Expressions). Often the right time to do this is at the beginning of execution, before any input has been processed, so that the very first record will be read with the proper separator. To do this, […]

cron -job – examples

1. Execute a cron job every 5 Minutes The first field is for Minutes. If you specify * in this field, it runs every minutes. If you specify */5 in the 1st field, it runs every 5 minutes as shown below. */5 * * * * /home/ramesh/backup.sh Note: In the same way, use */10 for every […]

exim stats

# eximstats /var/log/exim/main.log-20130801 Exim statistics from 2013-07-31 02:00:13 to 2013-08-01 02:00:05 Grand total summary ——————- At least one address TOTAL               Volume   Messages Addresses     Hosts      Delayed       Failed Received            7854MB      25588                2645       0  0.0%      0  0.0% Delivered                0          0         0         0 Rejects                         17256                 418 Temp Rejects                     4926                 218 Deliveries by transport ———————– Volume    Messages Messages received per […]

Secured By miniOrange