Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # Modo de uso:
- # ./severity_finder /ruta/al/fichero
- file_log=$1
- for i in emerg alert crit err warn info debug; do
- echo "Severity: $i"
- echo ""
- grep $i $file_log
- read -p "presione enter para continuar..."
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement