diff --git a/homework/linux.txt b/homework/linux.txt index e69de29b..d344d0b5 100644 --- a/homework/linux.txt +++ b/homework/linux.txt @@ -0,0 +1,168 @@ +gigakloc🐱GigaKloc:~/klocek🗣 cd .. +gigakloc🐱GigaKloc:~🗣 rm -rf klocek/ +gigakloc🐱GigaKloc:~🗣 mkdir tak +gigakloc🐱GigaKloc:~🗣 cd tak +gigakloc🐱GigaKloc:~/tak🗣 touch processes.txt +gigakloc🐱GigaKloc:~/tak🗣 ps aux >> processes.txt +gigakloc🐱GigaKloc:~/tak🗣 cp processes.txt copy.txt +gigakloc🐱GigaKloc:~/tak🗣 mkdir backup +gigakloc🐱GigaKloc:~/tak🗣 mv copy.txt backup/ +gigakloc🐱GigaKloc:~/tak🗣 wc -l processes.txt +469 processes.txt +gigakloc🐱GigaKloc:~/tak🗣 wc -l processes.txt >> selected.txt +gigakloc🐱GigaKloc:~/tak🗣 grep -r -n /bin processes.txt >> selected.txt +gigakloc🐱GigaKloc:~/tak🗣 +gigakloc🐱GigaKloc:~/tak🗣 less selected.txt +gigakloc🐱GigaKloc:~/tak🗣 history | grep "mkdir tak" + 29 mkdir tak + 40 history | grep "mkdir tak" +gigakloc🐱GigaKloc:~/tak🗣 history | tail -n12 + 30 cd tak + 31 touch processes.txt + 32 ps aux >> processes.txt + 33 cp processes.txt copy.txt + 34 mkdir backup + 35 mv copy.txt backup/ + 36 wc -l processes.txt + 37 wc -l processes.txt >> selected.txt + 38 grep -r /bin processes.txt >> selected.txt + 39 less selected.txt + 40 history | grep "mkdir tak" + 41 history | tail -n12 +gigakloc🐱GigaKloc:~/tak🗣 history | tail -n14 + 29 mkdir tak + 30 cd tak + 31 touch processes.txt + 32 ps aux >> processes.txt + 33 cp processes.txt copy.txt + 34 mkdir backup + 35 mv copy.txt backup/ + 36 wc -l processes.txt + 37 wc -l processes.txt >> selected.txt + 38 grep -r /bin processes.txt >> selected.txt + 39 less selected.txt + 40 history | grep "mkdir tak" + 41 history | tail -n12 + 42 history | tail -n14 +gigakloc🐱GigaKloc:~/tak🗣 history | tail -n14 >> commands.txt +gigakloc🐱GigaKloc:~/tak🗣 less commands.txt +gigakloc🐱GigaKloc:~/tak🗣 history | tail -n16 >> commands.txt +gigakloc🐱GigaKloc:~/tak🗣 histoless commands.txt +gigakloc🐱GigaKloc:~/tak🗣 history | tail -n19 >> commands.txt +gigakloc🐱GigaKloc:~/tak🗣 histoless commands.txt +gigakloc🐱GigaKloc:~/tak🗣 history | tail -n12 >> commands.txt +gigakloc🐱GigaKloc:~/tak🗣 history | tail -n23 >> commands.txt +gigakloc🐱GigaKloc:~/tak🗣 histoless commands.txt +gigakloc🐱GigaKloc:~/tak🗣 history | tail -n26 >> commands.txt +gigakloc🐱GigaKloc:~/tak🗣 histoless commands.txt +gigakloc🐱GigaKloc:~/tak🗣 history | tail -n12 > commands.txt +gigakloc🐱GigaKloc:~/tak🗣 histoless commands.txt +gigakloc🐱GigaKloc:~/tak🗣 history | tail -n28 > commands.txt +gigakloc🐱GigaKloc:~/tak🗣 cat selected.txt commands.txt +469 processes.txt +root 878 0.0 0.0 29568 3396 ? S> processes.txt + 33 cp processes.txt copy.txt + 34 mkdir backup + 35 mv copy.txt backup/ + 36 wc -l processes.txt + 37 wc -l processes.txt >> selected.txt + 38 grep -r /bin processes.txt >> selected.txt + 39 less selected.txt + 40 history | grep "mkdir tak" + 41 history | tail -n12 + 42 history | tail -n14 + 43 history | tail -n14 >> commands.txt + 44 less commands.txt + 45 history | tail -n16 >> commands.txt + 46 less commands.txt + 47 history | tail -n19 >> commands.txt + 48 less commands.txt + 49 history | tail -n12 >> commands.txt + 50 history | tail -n23 >> commands.txt + 51 less commands.txt + 52 history | tail -n26 >> commands.txt + 53 less commands.txt + 54 history | tail -n12 > commands.txt + 55 less commands.txt + 56 history | tail -n28 >