Sono in Ubuntu, quando scrivo dmesg i messaggi di errore appaiono in rosso, come posso stampare nella console solo quelli?
Risposta accettata:
usa --level opzione descritta in man dmesg :
-l, --level list Restrict output to the given (comma-separated) list of levels. For example: dmesg --level=err,warn will print error and warning messages only. For all supported levels see the --help output.