listunitfiles
Listunitfiles is a subcommand of the systemd systemctl utility. It reports the unit files installed on a system and shows how they are configured to start or be available, by listing each unit file with its enablement state. The typical syntax is systemctl list-unit-files [OPTIONS] [PATTERN...].
The command outputs a two-column list: UNIT FILE and STATE. UNIT FILE shows the name of the
Scope and behavior: list-unit-files scans the standard systemd unit directories, typically including /etc/systemd/system, /usr/lib/systemd/system, and /lib/systemd/system,
Usage notes: systemctl list-unit-files is useful for auditing startup configuration and verifying which units will be