- The journal keeps the records of every run; a service's state describes only the last one.
-u,-b,--since,-nand-pnarrow a selection to the right service, time and severity.-p errkeeps the errors, while the details and the order of events show in the full selection.sudo journalctl … > filesaves a selection to a file that belongs to you.- At the start of the lesson the service was fine, yet the journal showed its error: it kept the records of every run, and the first one ended in failure.
Step 7 of 7 · summary · 2 min
Summary
Found an inaccuracy? Report an error in the lesson