LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

systemctl-list-paths

List path-activated units

TLDR

List path units
$ systemctl list-paths
copy
Filter by pattern
$ systemctl list-paths [pattern]
copy
List all including inactive
$ systemctl list-paths -a
copy
Filter by state
$ systemctl list-paths --state [state]
copy
Show unit types
$ systemctl list-paths --show-types
copy

SYNOPSIS

systemctl list-paths [OPTIONS] [PATTERN...]

DESCRIPTION

systemctl list-paths displays path units currently loaded in memory, ordered by the paths they watch. Path units activate other units when specified filesystem paths are modified.The output shows the watched path, the path unit name, and its current state.

PARAMETERS

-a, --all

Include inactive path units
--state= STATE
Filter by state
--show-types
Display unit types in output
--no-legend
Suppress header and footer
--no-pager
Disable pager

CAVEATS

Only shows path units, not related service units. Inactive path units are hidden by default. Path monitoring uses inotify, which has kernel limits on watched paths.

HISTORY

The list-paths subcommand provides a focused view of filesystem-triggered units, which are systemd's replacement for incron or similar file-watching mechanisms.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid