diff --git a/homework/linux.txt b/homework/linux.txt index e69de29..989ad17 100644 --- a/homework/linux.txt +++ b/homework/linux.txt @@ -0,0 +1,83 @@ +kp@ubuntu:~/pd_linux$ cat comands.txt selected.txt + 305 pwd + 306 mkdir pd_linux + 307 cd pd_linux/ + 308 touch processes.txt + 309 ls + 310 ps aux >> processes.txt + 311 cat processes.txt + 312 mkdir backup + 313 man cp + 314 cp processes.txt copy.txt + 315 ls + 316 man mv + 317 mv copy.txt backup/ + 318 ls + 319 ls -l backup/ + 320 manls + 321 man ls + 322 la -h + 323 ls -h + 324 ls --help + 325 man cat + 326 cd ../knauka/ + 327 cat -n wynik.txt + 328 cat -n result.txt + 329 clear + 330 cat -n result.txt + 331 more -h + 332 more --help + 333 cat -n result.txt + 334 cat -n wynik.txt + 335 cat --help + 336 cat -n wynik.txt >>wynik.txt + 337 cat wynik.txt + 338 cat -n wynik.txt >>wynik.txt + 339 cat -n wynik.txt >>result.txt + 340 cat result.txt + 341 man wc + 342 wc wynik.txt + 343 man w + 344 man wc + 345 man -l wc + 346 wc - l wynik.txt + 347 wc -l wynik.txt + 348 wc -l wynik.txt >> result.txt + 349 cat result.txt + 350 cd ../pd_linux/ + 351 pwd + 352 ls + 353 wc -l processes.txt >> selected.txt + 354 cat selected.txt + 355 man grep + 356 grep -fe /bin processes.txt + 357 grep -f /bin processes.txt + 358 grep --help + 359 grep -fe '/bin' processes.txt + 360 grep -fe '/bin' + 361 grep -f '/bin' + 362 grep '/bin' + 363 grep "/bin" processes.txt + 364 grep "/bin" processes.txt >>selected.txt + 365 cat selected.txt + 366 history + 367 history | tail -60 + 368 history | tail -65 + 369 history | tail -65 >> comands.txt +278 processes.txt +root 750 0.0 0.2 50148 10368 ? Ss 08:06 0:00 /usr/bin/VGAuthService +root 752 0.1 0.1 239452 7152 ? Ssl 08:06 0:01 /usr/bin/vmtoolsd +message+ 788 0.0 0.1 9840 6232 ? Ss 08:06 0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only +root 798 0.0 0.5 39700 20592 ? Ss 08:06 0:00 /usr/bin/python3 /usr/bin/networkd-dispatcher --run-startup-triggers +root 896 0.0 0.5 118140 22540 ? Ssl 08:06 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal +whoopsie 984 0.0 0.3 253136 15384 ? Ssl 08:06 0:00 /usr/bin/whoopsie -f +kp 1593 0.2 0.4 1482716 19464 ? S