From 2babedc81bc7e3eeaa821a193d5cdd59ba1e479e Mon Sep 17 00:00:00 2001 From: klegdev Date: Mon, 27 Jul 2026 21:45:47 +0200 Subject: [PATCH 1/2] Update linux.txt --- homework/linux.txt | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/homework/linux.txt b/homework/linux.txt index e69de29b..d05b7afd 100644 --- a/homework/linux.txt +++ b/homework/linux.txt @@ -0,0 +1,44 @@ +cat task1/selected.txt task1/commands.txt +241 +89:root 1471 0.0 0.0 2888 2008 ? Ss 04:06 0:00 /bin/sh /usr/lib/systemd/scripts/chronyd-starter.sh -n -F 1 +91:root 1480 0.0 0.6 58472 30100 ? Ss 04:06 0:00 /usr/bin/python3 /usr/bin/networkd-dispatcher --run-startup-triggers +106:root 1753 0.0 0.6 137744 32812 ? Ssl 04:06 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal +108:root 8301 0.1 0.0 350152 2548 ? Sl 04:06 1:05 /usr/bin/VBoxDRMClient +118:klegutko 9574 0.0 0.1 10656 8088 ? Ss 04:21 0:10 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only +119:klegutko 9575 0.0 0.2 121200 12952 ? S task1/processes.txt + 423 cp task1/processes.txt task1/copy.txt + 424 mkdir task1/backup + 425 mv task1/copy.txt task1/backup/ + 426 wc -l task1/processes.txt + 427 wc -l < task1/processes.txt > task1/selected.txt + 428 grep -n "/bin" task1/processes.txt >> task1/selected.txt + 429 history + 430 history | tail -n +420 > task1/commands.txt From cf0a65a444c6c9b74faed22906e6c1b00fe3fedc Mon Sep 17 00:00:00 2001 From: klegdev Date: Mon, 27 Jul 2026 22:03:56 +0200 Subject: [PATCH 2/2] Update linux.txt --- homework/linux.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/homework/linux.txt b/homework/linux.txt index d05b7afd..46c1100c 100644 --- a/homework/linux.txt +++ b/homework/linux.txt @@ -42,3 +42,4 @@ cat task1/selected.txt task1/commands.txt 428 grep -n "/bin" task1/processes.txt >> task1/selected.txt 429 history 430 history | tail -n +420 > task1/commands.txt +