Score:0

How to list systemd unit files with descriptions

pl flag

The command

systemctl list-units

only displays instances of units, such that are currently loaded into the memory. The command

systemctl list-unit-files

on the other hand lists all unit configuration files found in the search paths. Unfortunately, the latter does not include descriptions.

Is there a handy command with which one could list all unit files with their descriptions?

Score:0
es flag

try this

systemctl list-units --all

upd:

from systemctl man page

list-unit-files [PATTERN...] List unit files installed on the system, in combination with their enablement state .....

Unlike list-units this command will list template units in addition to explicitly instantiated units.

template units have @ in the name

systemctl list-unit-files --type service | grep -i "@"

reign avatar
pl flag
Unfortunately, this does not seem to be a solution. 'Systemctl list-unit-files' lists units that aren't listed in 'systemctl list-units --all'
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.