mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-24 10:52:07 +00:00
Update cheatsheets
This commit is contained in:
21
tldr/linux/systemctl-is-system-running
Normal file
21
tldr/linux/systemctl-is-system-running
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# systemctl is-system-running
|
||||
|
||||
> Check the current state of the system.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#is-system-running>.
|
||||
|
||||
- Check whether the system is operational and print the current state:
|
||||
|
||||
`systemctl is-system-running`
|
||||
|
||||
- Check and print the current state quietly (no output, only exit status):
|
||||
|
||||
`systemctl is-system-running --quiet`
|
||||
|
||||
- Wait until the boot process is completed before printing the current state:
|
||||
|
||||
`systemctl is-system-running --wait`
|
||||
Reference in New Issue
Block a user