Added OG command
parent
72fa9c1296
commit
bc1dc2490f
|
@ -12,6 +12,8 @@ modified: '2021-12-09T21:40:19.872Z'
|
||||||
- `sudo kill <pid>` - kill process with provided pid, provided by `ps` command
|
- `sudo kill <pid>` - kill process with provided pid, provided by `ps` command
|
||||||
- `pkill <process-name>` - kill process by name :sunglasses:
|
- `pkill <process-name>` - kill process by name :sunglasses:
|
||||||
|
|
||||||
|
**OG COMMAND** -> `ps -auxf` (tree structure)
|
||||||
|
|
||||||
## on systemd u can also
|
## on systemd u can also
|
||||||
- `systemctl | grep <service_name>` - display all running services or grep one
|
- `systemctl | grep <service_name>` - display all running services or grep one
|
||||||
- `sudo systemctl is-enabled ssh` - check if service is enabled
|
- `sudo systemctl is-enabled ssh` - check if service is enabled
|
||||||
|
|
Loading…
Reference in New Issue