Question: Just looking for the Linux commands to do these steps, doesn't have to be the same document. 1. Create a nano document. Open up the

Just looking for the Linux commands to do these steps, doesn't have to be the same document.

1. Create a nano document. Open up the PDF for this assignment and copy and paste the contents of the PDF named Declaration of Independence into the nano document. Save the nano document as a Declaration and exit the nano document. 2. Using a pipe command, find the sentences that have the word Independent in the declaration and find out how many words are in the sentence. Output the results of the word count to the screen as well as redirect to a filename wcDeclaration.txt(hint use | tee filename to create a new file and print output to screen) 3. Use a pipe command to find all of the sentences with the annihilation and replace all of the letters of that work with capital letters and print the output to the screen as well as redirect to a file name capsDeclaration.txt. 4. Use a pipe command to find all of the sentences using the word States. Change the last s in States to X and redirect the output into a text file named statesDeclaration.txt 5. Count the lines in the document declaration in the fileProcessing directory. Sort the counted lines by number and concatenate the file with a line number in the output. Print the output to the screen and redirect the output into a file named sortedLines 6. List the content of fileProcessing directory

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!