Bash script to filter logins from log files
I created this simple script so that I could parse the log files to see login activity on the server from the command line on the server.
The script parses the eqemu_debug_world.log file and returns a list of account names as well as date and time that they logged in. Change the logfile="" line to point to your log file location. Code:
#!/bin/bash The output of the script looks like so: Code:
accountname: [12.04. - 12:52:58] |
All times are GMT -4. The time now is 04:21 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.