Update cheatsheets

This commit is contained in:
ivuorinen
2025-10-23 00:19:46 +00:00
parent 0cc7cfe867
commit 058ce19122
64 changed files with 437 additions and 86 deletions

View File

@@ -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}}`