diff --git a/homework/linux.txt b/homework/linux.txt index e69de29b..46c1100c 100644 --- a/homework/linux.txt +++ b/homework/linux.txt @@ -0,0 +1,45 @@ +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 +