- Download the log file and place it in the same directory as the script.
- Make the script executable:
chmod +x analyse_logs.sh ./analyse_logs.sh nginx-access.log
- Download the log file and place it in the same directory as the Go program.
go run main.go