linuxShortcuts/tailPihole.sh

4 lines
168 B
Bash
Raw Normal View History

2022-10-07 11:40:50 +00:00
#!/bin/sh
cd /home/bruno/Apps/piholeDocker
docker-compose exec pihole tail -f /var/log/pihole.log | awk '/from/ { printf("%s %2s %s %40s %s\n", $1, $2, $3, $6, $8 ) }'