From 3a24aaf5f98066ff963c93d405b4cd89afaa83a7 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 2 Aug 2025 22:10:30 +0330 Subject: [PATCH] update ps,kill doc --- Linux/LPIC1/16-ps.md | 14 ++++++++++++++ Linux/LPIC1/17-kill.md | 6 ++++++ 2 files changed, 20 insertions(+) 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)