mirror of https://github.com/CrimsonTome/tldr.git
25 lines
378 B
Markdown
25 lines
378 B
Markdown
# svcs
|
|
|
|
> List information about running services.
|
|
> More information: <https://www.unix.com/man-page/linux/1/svcs>.
|
|
|
|
- List all running services:
|
|
|
|
`svcs`
|
|
|
|
- List services that are not running:
|
|
|
|
`svcs -vx`
|
|
|
|
- List information about a service:
|
|
|
|
`svcs apache`
|
|
|
|
- Show location of service log file:
|
|
|
|
`svcs -L apache`
|
|
|
|
- Display end of a service log file:
|
|
|
|
`tail $(svcs -L apache)`
|