Linux systemd Services Cheat Sheet/Print unit file and drop-ins

Show the unit definition actually used by systemd.

Section: List and Inspect Units

Print unit file and drop-ins

bash
bash
systemctl cat nginx
Explanation

Shows vendor unit plus override snippets.

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 List and Inspect Units
List loaded units
Show active loaded units.
OpenIn sheetbashsame section
List service units
Filter unit list to services.
OpenIn sheetbashsame section
List all service unit files
Show loaded and unloaded service files.
OpenIn sheetbashsame section
List failed units
Show units in failed state.
OpenIn sheetbashsame section
Show low-level unit properties
Dump detailed properties for a unit.
OpenIn sheetbashsame section
Show one property
Read a specific unit property.
OpenIn sheetbashsame section