1 2 3 4 5 6 7
#!/bin/bash if type ccze &>/dev/null; then journalctl -f "$@" | ccze -A -o nolookups else journalctl -f "$@" fi