mirror of https://github.com/CrimsonTome/tldr.git
24 lines
312 B
Markdown
24 lines
312 B
Markdown
# svcs
|
|
|
|
> List information about running services.
|
|
|
|
- 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)`
|