Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions homework/linux.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
MrPrincipal@HopeOfTheWorld:~$ history | tail -17 > commands.txt
401 c test
402 cd test
403 touch processes.txt
404 ps aux > processes.txt
405 cp processes.txt copy.txt
406 mkdir backup
407 mv copy.txt backup/
408 touch selected.txt
409 echo 50 selected.txt
410 echo 50 > selected.txt
411 grep -rni /bin
412 grep -rni /bin >> selected.txt
413 history
414 history | tail -14
415 history | tail -16
416 touch commands.txt
417 history | tail -17 > commands.txt
MrPrincipal@HopeOfTheWorld:~$ cat selected.txt commands.txt
Loading