mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-26 14:53:07 +00:00
Update cheatsheets
This commit is contained in:
@@ -10,16 +10,24 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Show the status of a service (no service name will list all services):
|
||||
|
||||
`sc.exe query {{service_name}}`
|
||||
`sc query {{service_name}}`
|
||||
|
||||
- Start a service asynchronously:
|
||||
|
||||
`sc.exe create {{service_name}} binpath= {{path o\service_binary_file}}`
|
||||
`sc start {{service_name}}`
|
||||
|
||||
- Stop a service asynchronously:
|
||||
|
||||
`sc.exe delete {{service_name}}`
|
||||
`sc stop {{service_name}}`
|
||||
|
||||
- Create a service:
|
||||
|
||||
`sc create {{service_name}} binpath= {{path o\service_binary_file}}`
|
||||
|
||||
- Delete a service:
|
||||
|
||||
`sc delete {{service_name}}`
|
||||
|
||||
- Set the type of a service:
|
||||
|
||||
`sc.exe config {{service_name}} type= {{service_type}}`
|
||||
`sc config {{service_name}} type= {{service_type}}`
|
||||
|
||||
Reference in New Issue
Block a user