Search Results

Search: Posts Made By: linuxhitman
1,636
Posted By linuxhitman
You could try something like this to get the time...
You could try something like this to get the time stamps into a Unix format. Then compare that to the stored value.

while read LINE; do
DATESTR=$(echo $LINE | cut -b -23)
TIME=$(date -d...
3,515
Posted By linuxhitman
I had a similar problem with a list of IP...
I had a similar problem with a list of IP addresses. Best solution I was able to come up with was:

TMPFILE=$(mktemp /tmp/rbip.XXXXXX)

sort -n -t '.' -k 1,1 -k 2,2 -k 3,3 -k 4,4 <ip_list|uniq...
Showing results 1 to 2 of 2

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