Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true
- do
- sleep 10
- pid=$!
- Linha=$(tail -Fn1 --pid=$pid /var/log/messages)
- grep "[ACESSO]" <<< "$Linha" && /usr/bin/esmtp usuario@email.com <<< "$Linha"
- done &
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement