diff --git a/homework/linux.txt b/homework/linux.txt index e69de29b..d23146a7 100644 --- a/homework/linux.txt +++ b/homework/linux.txt @@ -0,0 +1,63 @@ +vboxuser@Linux:~/homework$ cat selected.txt commands.txt +235 processes.txt +root 1 0.0 0.3 23236 13936 ? Ss 15:38 0:02 /sbin/init splash +root 748 0.0 0.0 18092 2808 ? Ss 15:38 0:00 /usr/sbin/cron -f -P +syslog 769 0.0 0.1 222564 5692 ? Ssl 15:38 0:00 /usr/sbin/rsyslogd -n -iNONE +root 818 0.0 0.4 345096 18828 ? Ssl 15:38 0:01 /usr/sbin/NetworkManager --no-daemon +root 824 0.0 0.1 17380 6176 ? Ss 15:38 0:00 /usr/sbin/wpa_supplicant -u -s -O DIR=/run/wpa_supplicant GROUP=netdev +root 848 0.0 0.3 318296 12492 ? Ssl 15:38 0:00 /usr/sbin/ModemManager +root 1022 0.0 0.2 46892 11832 ? Ss 15:38 0:00 /usr/sbin/cupsd -l +root 1025 0.0 0.5 120908 22548 ? Ssl 15:38 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal +kernoops 1041 0.0 0.0 12744 2400 ? Ss 15:38 0:00 /usr/sbin/kerneloops --test +kernoops 1044 0.0 0.0 12744 2376 ? Ss 15:38 0:00 /usr/sbin/kerneloops +root 1046 0.0 0.2 323484 9156 ? Ssl 15:38 0:00 /usr/sbin/gdm3 +cups-br+ 1056 0.0 0.4 268340 19564 ? Ssl 15:38 0:00 /usr/sbin/cups-browsed +vboxuser 1617 0.0 0.3 124468 14876 ? S processes.txt + 128 cp processes.txt copy.txt + 129 mkdir backup + 130 mv copy.txt backup/ + 131 pwd + 132 back + 133 - + 134 ~ + 135 pwd + 136 ~home + 137 home~ + 138 cd home + 139 / + 140 cd - + 141 mkdir backup1 + 142 mv copy.txt backup1/ + 143 rm backup1 + 144 rmdir backup1 + 145 cd homework + 146 wc -l processes.txt + 147 wc -l processes.txt > selected.txt + 148 grep "bin" processes.txt + 149 grep "bin" processes.txt >> selected.txt + 150 history + 151 history | tail -n 123 > commands.txt + 152 history | tail -n 30 > commands.txt