Menu

[solved]-Unix Operating System 1 Create New Directory Called Test Home Directory 2 Please Download Q39076767

UNIX OPERATING SYSTEM

(1) Create a new directory called Test in your homedirectory.

(2) Please download the text file animals.txt using thefollowing command in your terminal of the Test folder.

curl -Ohttps://raw.githubusercontent.com/XinYangSAU/MCIS5103/master/animals.txt

(3) Please make a copy of the animals.txt file with the newname: test.txt inside of Test folder. Please include the -ioption.

(4) Please print the full word count(lines, words andcharacters) information for both the animals.txt and test.txtfile.

(5) Please delete the test.txt file with the interactiveoption.

(6) Please rename your Test folder to a new name: HW2 5

(7) Go to your HW2 folder in your home directory

(8) Please download the text file states.txt using the followingcommand in the terminal of the HW2 folder.

curl -O http://seankross.com/notes/states.txt

(9) Please search states.txt for lines that contain the word“New” in your terminal.

(10) Please search for all of the state names that both beginand end with a vowel(the first letter and the last letter of thestates are both vowel. eg: Alaska,Iowa) in your terminal.

(11) Please make five text files containing the names of statesthat don’t contain one of each of the five vowels. You can useoutput redirection > to save your results to the text file.

All the state names don’t contain the letter a should be savedin h1.txt.

All the state names don’t contain the letter e should be savedin h2.txt.

All the state names don’t contain the letter i should be savedin h3.txt.

All the state names don’t contain the letter o should be savedin h4.txt.

All the state names don’t contain the letter u should be savedin h5.txt

(12) Please use wildcard (* or ?) to word count all above fivefiles in one command line.

Please don’t use wc h1.txt h2.txt h3.txt h4.txt h5.txt

I just need answers for questions 10,11 and 12.

Thank you

Expert Answer


Answer to UNIX OPERATING SYSTEM (1) Create a new directory called Test in your home directory. (2) Please download the text file a… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *