Linux Command Cheat Sheet/Follow journal logs

Stream new journal entries live.

Section: Services systemd and Journal

Follow journal logs

bash
bash
journalctl -fu nginx
Explanation

Combines `-f` follow mode with unit filtering.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Services systemd and Journal
Follow a growing file
Stream appended lines as they are written.
OpenIn sheetbash2 tag match
Page through a file
Open a file in a scrollable pager.
OpenIn sheetbash1 tag match
Show last lines
Display the end of a file.
OpenIn sheetbash1 tag match
Print working directory
Show the current absolute path.
Create file or update timestamp
Create an empty file if it does not exist.
Print file contents
Concatenate and print files to standard output.