Systemctl: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=Internal= * systemd") |
No edit summary |
||
Line 2: | Line 2: | ||
* [[systemd#Operations|systemd]] | * [[systemd#Operations|systemd]] | ||
=-q (quiet)= | |||
Suppress output to standard output in <tt>snapshot</tt>, <tt>is-active</tt>, <tt>is-failed</tt>, <tt>is-enabled</tt>, <tt>is-system-running</tt>, <tt>enable</tt> and <tt>disable</tt>. However, it does not suppress output to stderr, which happens when the unit in question does not exists, etc. | |||
You may want to consider: | |||
<pre> | |||
systemctl -q .... 2>/dev/null | |||
</pre> |
Revision as of 18:40, 16 February 2016
Internal
-q (quiet)
Suppress output to standard output in snapshot, is-active, is-failed, is-enabled, is-system-running, enable and disable. However, it does not suppress output to stderr, which happens when the unit in question does not exists, etc.
You may want to consider:
systemctl -q .... 2>/dev/null