From 797095b135987e73b1d82b09a4d72199ab3108e6 Mon Sep 17 00:00:00 2001 From: Konrad <61013530+kprzygod@users.noreply.github.com> Date: Tue, 16 Jan 2024 18:40:54 +0100 Subject: [PATCH] Update linux.txt corrected buckup folder and /bin process line information --- homework/linux.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/homework/linux.txt b/homework/linux.txt index fd45548..317f4f1 100644 --- a/homework/linux.txt +++ b/homework/linux.txt @@ -2,15 +2,15 @@ 2 touch zadanie/processes.txt 3 ps -aux > zadanie/processes.txt 4 cp zadanie/processes.txt zadanie/copy.txt - 5 mkdir buckup - 6 mv zadanie/copy.txt buckup/ + 5 mkdir zadanie/buckup + 6 mv zadanie/copy.txt zadanie/buckup/ 7 wc -l zadanie/processes.txt 8 touch selected.txt 9 wc -l zadanie/processes.txt > selected.txt 10 grep /bin zadanie/processes.txt 11 history 12 touch commands.txt - 13 grep /bin zadanie/processes.txt >> selected.txt + 13 grep -n /bin zadanie/processes.txt >> selected.txt 14 history | tail -n14 > commands.txt 10 zadanie/processes.txt -kprzygo+ 692 0.0 0.0 15284 820 tty1 S 17:10 0:00 /bin/nl +9:kprzygo+ 692 0.0 0.0 15284 820 tty1 S 17:10 0:00 /bin/nl