Operating systems – May 2023, UNITAR international university QUIZ 1
Name:
Matric #:
1- Create a directory inside /home/user directory named “myDocs”.
2- Change your current path to the newly created directory. 3- Write a command for downloading the file from the following address: gutenberg.net.au/ebooks01/0100021.txt 4- Rename the file as “Orwell1984.txt” 5- Write commands to count number of paragraphs in this file (typically paragraphs are separated from each other by empty lines). 6- Write the command using grep to find all lines containing the word "power" in the file. 7- Write the commands to save all numbers the file into a file named “numbers.txt”. 8- Write the commands to find how many 1984 is repeated in “numbers.txt”. 9- Create another directory named “output” inside the current directory. 10- Move numbers.txt into output directory with new name as “numbers1984.txt”.
Copy and paste your command into this document and attach a screenshot from the result as well for each of the commands. Finally submit the document into the portal.