See users-list

Something has changed, when I run the bat script I cannot get the most recent dates.

I just get November 17 through November 26. But not from November 27 up to December 16, which is now.

This is my bat script:


#!/bin/bash


zcat /var/log/user.log.4.gz > /tmp/kiwi.log;


zcat /var/log/user.log.3.gz >> /tmp/kiwi.log;


zcat /var/log/user.log.2.gz >> /tmp/kiwi.log;


cat /var/log/user.log.1 >> /tmp/kiwi.log;


cat /var/log/user.log >> /tmp/kiwi.log;


#Show everything that has 'leaving' in the line    grep -i leaving


#Don't Show anything that has 'kf6vo' in the line   grep -vi kf6vo 


#Don't Show anything that has '192.168.254.*' in the line grep -vi 192.168.254.*


#IE. My Local Intranet address's of my computers that I use to access my Kiwisdr


#Don't Show anything that has '127.0.0.1' in the line  grep -vi 127.0.0.1


cat /tmp/kiwi.log | grep -i leaving | grep -vi kf6vo | grep -vi 192.168.254.* | grep -vi 127.0.0.1 >> /tmp/kiwi-users.log


#Delete User List:


rm -f /tmp/kiwi.log


Maybe someone can see what I need to change to make it work correctly again.

I did upgrade the operating system of beagle bone up to V 11.11

Comments

Sign In or Register to comment.