diff --git a/homework/linux.txt b/homework/linux.txt index e69de29b..7a27eed1 100644 --- a/homework/linux.txt +++ b/homework/linux.txt @@ -0,0 +1,36 @@ +Michal@UbuntuMGr:~/LinuxHomework$ cat selected.txt commands.txt +226 processes.txt +root 1273 0.0 0.0 364316 2372 ? Sl 15:17 0:01 /usr/bin/VBoxDRMClient +root 1374 0.0 0.1 120924 22464 ? Ssl 15:17 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal +Michal 2056 0.0 0.0 123976 14124 ? S processes.txt + 269 cp processes.txt copy.txt + 270 mkdir backup + 271 mv copy.txt ./backup/ + 272 wc -l processes.txt > selected.txt + 273 grep -n "/bin" processes.txt >> selected.txt + 274 hisotry + 275 history + 276 history | tail -n12 > commands.txt