Skip to content

Commit

Permalink
Update linux.txt
Browse files Browse the repository at this point in the history
corrected buckup folder and /bin process line information
  • Loading branch information
kprzygod authored Jan 16, 2024
1 parent 3c5b2df commit 797095b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions homework/linux.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 797095b

Please sign in to comment.