Linux command
runlevel 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Display
runlevel
Display
runlevel --help
说明
runlevel prints the previous and current SysV runlevel from the utmp file (/run/utmp). A runlevel is a mode of operation in Unix System V-style init systems that defines what services are running. The output consists of two values: the previous runlevel (or N if unavailable) and the current runlevel. If neither can be determined, unknown is printed.
参数
- --help
- Show help message
FAQ
What is the runlevel command used for?
runlevel prints the previous and current SysV runlevel from the utmp file (/run/utmp). A runlevel is a mode of operation in Unix System V-style init systems that defines what services are running. The output consists of two values: the previous runlevel (or N if unavailable) and the current runlevel. If neither can be determined, unknown is printed.
How do I run a basic runlevel example?
Run `runlevel` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --help do in runlevel?
Show help message