From e9ae9434c90e9d7cf4c6199a5bf8c1b3bc53431d Mon Sep 17 00:00:00 2001 From: PancernyJez Date: Wed, 26 Jun 2024 23:29:50 +0200 Subject: [PATCH] Update linux2.txt --- homework/linux.txt | 101 ++++++++++++--------------------------------- 1 file changed, 26 insertions(+), 75 deletions(-) diff --git a/homework/linux.txt b/homework/linux.txt index 3755f7e..f48b735 100644 --- a/homework/linux.txt +++ b/homework/linux.txt @@ -1,87 +1,38 @@ pancerny102@pancerny102-VirtualBox:~/Documents/LinuxZadanieDomowe$ cat selected.txt commands.txt -203 processes.txt +217 processes.txt root 1091 0.0 0.5 112216 22784 ? Ssl 20:02 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal -pancern+ 1141 0.1 0.3 117408 15684 ? S processes.txt - 67 less processes.txt - 68 more processes.txt - 69 cp processes.txt copy.txt - 70 ls - 71 more copy.txt - 72 ls -l - 73 man wc - 74 wc processes.txt - 75 man wc - 76 wc -l processes.txt - 77 203 > selected.txt - 78 203 < selected.txt - 79 man rm - 80 ls - 81 selected.txt < 203 - 82 wc -l processes.txt > selected.txt - 83 more selected.txt - 84 man wc - 85 man grep - 86 grep "/bin" processes.txt - 87 grep "/bin" processes.txt >selected.txt - 88 wc -l processes.txt > selected.txt - 89 grep "/bin" processes.txt >> selected.txt - 90 history - 91 history tail -n61 - 92 history tail -61 - 93 history tail 61' - - 94 history tail 61 - 95 man history - 96 history mkdir LinuxZadanieDomowe - 97 history tail mkdir LinuxZadanieDomowe - 98 man tail - 99 tail -61 history - 100 history - 101 history > commands.txt - 102 tail -61 commands.txt - 103 tail 61 commands.txt - 104 tail -n61 commands.txt - 105 tail -n81 commands.txt - 106 head -n61 commands.txt - 107 tail -n41 commands.txt - 108 tail -n40 commands.txt - 109 tail -n42 commands.txt - 110 tail -n42 commands.txt > commands.txt - 111 more commands.txt - 112 less commands.txt - 113 tail -n42 history > commands.txt - 114 history - 115 history > commands.txt - 116 tail -n53 commands.txt - 117 tail -n54 commands.txt - 118 tail -n52 commands.txt - 119 tail -n55 commands.txt - 120 tail -n54 commands.txt - 121 tail -n55 commands.txt - 122 tail -n56 commands.txt - 123 tail -n56 commands.txt < commands.txt - 124 commands.txt > tail -n56 commands.txt - 125 tail -n56 commands.txt > commands.txt - 126 history > commands.txt +pancern+ 3073 0.0 1.4 216416 58764 ? S 20:04 0:00 /usr/bin/Xwayland :0 -rootless -noreset -accessx -core -auth /run/user/1000/.mutter-Xwaylandauth.TP4WP2 -listenfd 4 -listenfd 5 -displayfd 6 -initfd 7 -byteswappedclients +pancern+ 5749 0.2 5.5 2341704 224408 ? Sl 22:38 0:05 /usr/bin/nautilus --gapplication-service +pancern+ 5880 1.9 7.1 2357000 286340 ? Sl 22:42 0:40 /usr/bin/gnome-text-editor /home/pancerny102/Documents/LinuxZadanieDomowe/commands.txt + 55 mkdir LinuxZadanieDomowe + 56 cd LinuxZadanieDomowe/ + 57 touch processes.txt + 58 ps aux > processes.txt + 59 cp processes.txt copy.txt + 60 mkdir backup + 61 mv copy.txt backup/ + 62 wc -l processes.txt > selected.txt + 63 grep "/bin" processes.txt >> selected.txt + 64 history + 65 history tail -9 + 66 tail history -9 + 67 history | tail -9 + 68 history | tail -12 + 69 history | tail -18 + 70 history | tail -16 > commands.txt