update ps,kill doc
This commit is contained in:
@@ -63,3 +63,17 @@ ps aux
|
|||||||
| `TIME` | Total CPU time used |
|
| `TIME` | Total CPU time used |
|
||||||
| `COMMAND` | Command that started the process |
|
| `COMMAND` | Command that started the process |
|
||||||
|
|
||||||
|
|
||||||
|
### 📑 Show List Jobs
|
||||||
|
|
||||||
|
```bash
|
||||||
|
jobs
|
||||||
|
```
|
||||||
|
|
||||||
|
### 🔄Move Process From Background To Forground
|
||||||
|
|
||||||
|
```bash
|
||||||
|
fg
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -33,6 +33,12 @@ kill -9 123
|
|||||||
*Doesn’t allow cleanup — use only when necessary.*
|
*Doesn’t allow cleanup — use only when necessary.*
|
||||||
🗡️ *Think of it as the "katana" of kill commands.*
|
🗡️ *Think of it as the "katana" of kill commands.*
|
||||||
|
|
||||||
|
### 📑 Multi Process Kill
|
||||||
|
|
||||||
|
```bash
|
||||||
|
pidof <ps-name> | xargs kill -9
|
||||||
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### ⌨️ Interrupt — `SIGINT` (Signal 2)
|
### ⌨️ Interrupt — `SIGINT` (Signal 2)
|
||||||
|
|||||||
Reference in New Issue
Block a user