diff --git a/homework/linux.txt b/homework/linux.txt index e69de29..eac093d 100644 --- a/homework/linux.txt +++ b/homework/linux.txt @@ -0,0 +1,69 @@ + 1144 mkdir linux + 1145 cd linux + 1146 touch processes.txt + 1147 ps aux > processes.txt + 1148 cp processes.txt copy.txt + 1149 mkdir backup/ + 1150 mv copy.txt backup/ + 1151 wc -l processes.txt + 1152 wc -l processes.txt > selected.txt + 1153 grep -rni /bin processes.txt >> selected.txt + 1154 history +jarek1992@Ubuntu:~/JAREK/linux$ history | tail -n11 + 1145 cd linux + 1146 touch processes.txt + 1147 ps aux > processes.txt + 1148 cp processes.txt copy.txt + 1149 mkdir backup/ + 1150 mv copy.txt backup/ + 1151 wc -l processes.txt + 1152 wc -l processes.txt > selected.txt + 1153 grep -rni /bin processes.txt >> selected.txt + 1154 history + 1155 history | tail -n11 +jarek1992@Ubuntu:~/JAREK/linux$ history | tail -n11 > commands.txt +jarek1992@Ubuntu:~/JAREK/linux$ cat selected.txt commands.txt +195 processes.txt +69:root 520 0.0 0.3 50036 6904 ? Ss 15:38 0:00 /usr/bin/python3 /usr/bin/networkd-dispatcher --run-startup-triggers +81:root 635 0.0 0.4 127156 8940 ? Ssl 15:38 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal +85:root 1609 0.0 0.1 284092 2176 ? Sl 15:38 0:06 /usr/bin/VBoxDRMClient +96:jarek19+ 2511 0.0 0.1 48528 3584 ? S processes.txt + 1148 cp processes.txt copy.txt + 1149 mkdir backup/ + 1150 mv copy.txt backup/ + 1151 wc -l processes.txt + 1152 wc -l processes.txt > selected.txt + 1153 grep -rni /bin processes.txt >> selected.txt + 1154 history + 1155 history | tail -n11 + 1156 history | tail -n11 > commands.txt +jarek1992@Ubuntu:~/JAREK/linux$ +