systemd
system administrationLinux
The systemd command is one of the most frequently used commands in Linux/Unix-like operating systems. systemd System and service manager for Linux operating systems
Quick Reference
Command Name:
systemd
Category:
system administration
Platform:
Linux
Basic Usage:
systemd [options] [arguments]
Common Use Cases
Syntax
systemd [options...]
Options
Option | Description |
---|---|
--help |
Show help text |
--version |
Show version information |
--test |
Determine startup sequence, dump it and exit |
--dump-configuration-items |
Dump understood configuration items |
--unit= |
Set default unit to activate |
--system |
Run as system service manager |
--user |
Run as user service manager |
--dump-core |
Dump core on crash |
--crash-vt= |
Change to specified VT on crash |
--crash-reboot |
Reboot on crash |
--crash-shell |
Run emergency shell on crash |
--confirm-spawn |
Ask for confirmation when spawning processes |
--show-status |
Show status updates on the console during boot |
--log-target= |
Set log target (console, journal, kmsg, journal-or-kmsg, null) |
--log-level= |
Set log level (debug, info, notice, warning, err, crit, alert, emerg) |
--log-color |
Highlight important log messages |
--log-location |
Include code location in log messages |
--default-standard-output= |
Set default standard output for services |
--default-standard-error= |
Set default standard error output for services |
Examples
How to Use These Examples
The examples below show common ways to use the systemd
command. Try them in your terminal to see the results. You can copy any example by clicking on the code block.
# Note: systemd itself is not typically called directly,
# but is instead used through interfaces like systemctl
# View systemd version
systemd --version