Search Results

Search: Posts Made By: Padmanabhan
1,592
Posted By balajesuri
I had a similar requirement at work and this is...
I had a similar requirement at work and this is what I did:
1. A script that fetches results form log file and writes the output to a file (say log_output.dat).
2. In the same script, write a line...
1,337
Posted By balajesuri
Like this? #! /bin/bash echo "Enter date: " ...
Like this?
#! /bin/bash
echo "Enter date: "
read date
grep -n Processed: /var/messages/datalogs | grep -n "$date"
1,170
Posted By pamu
Please use code tags for code and data sample. ...
Please use code tags for code and data sample.
And before posting any question first try to search in the forums :)
Try
awk '{a+=$NF}END{print a}' file
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 05:42 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy