diff --git a/Linux/LPIC1/16-ps.md b/Linux/LPIC1/16-ps.md index 36b1d94..986e2f6 100644 --- a/Linux/LPIC1/16-ps.md +++ b/Linux/LPIC1/16-ps.md @@ -63,3 +63,17 @@ ps aux | `TIME` | Total CPU time used | | `COMMAND` | Command that started the process | + +### 📑 Show List Jobs + +```bash +jobs +``` + +### 🔄Move Process From Background To Forground + +```bash +fg +``` + + diff --git a/Linux/LPIC1/17-kill.md b/Linux/LPIC1/17-kill.md index 38f8bac..980d96f 100644 --- a/Linux/LPIC1/17-kill.md +++ b/Linux/LPIC1/17-kill.md @@ -33,6 +33,12 @@ kill -9 123 *Doesn’t allow cleanup — use only when necessary.* 🗡️ *Think of it as the "katana" of kill commands.* +### 📑 Multi Process Kill + +```bash +pidof | xargs kill -9 +``` + --- ### ⌨️ Interrupt — `SIGINT` (Signal 2)