Answer to Question #174469 in Algorithms for Kwame Hayford

Question #174469

Question 3

Write a shell script that allows a user to write a nursery rhyme directly from the CLI and have the rhyme stored in a text file.

Your script should then replace all vowels in the rhyme with the letter “t”

Your script should also count the number of lines in the rhyme

Your script should make a copy of the text file and append all the characters of the first file into the second file into it.

Then delete all the contents of the first file.


 

  B) Give four working examples of how to use grep in shell scripting,


C) list all hidden files in the present working directory showing all hidden files and in the long format


D) Explain the difference between ls -l > mylisting.txt and ls -l >> mylisting.txt [4 mar


1
Expert's answer
2021-04-02T13:39:33-0400
Dear Kwame Hayford, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS