Write commands to carry out the following commands: a) Print all lines containing the string John. b) Print all lines where a word starts with J. c) Print all lines ending with word stopped. d) Print all lines that don't contain was. e) Print lines where a word begins with K or k. 2. Write a bash script that copies all files of the current directory into a new sub-directory, and then deletes the created sub-directory along with its contents and displays a message that indicates completion of the task. 3. Write a bash script that reads two numbers x and y and performs addition, subtraction, multiplication, and division of the two numbers (x y, x-y, x*y, x/y) and prints out each of these values along with some text to indicate what these numbers are.
+5
Answers (1)
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Write commands to carry out the following commands: a) Print all lines containing the string John. b) Print all lines where a word starts ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Home » Computers & Technology » Write commands to carry out the following commands: a) Print all lines containing the string John. b) Print all lines where a word starts with J. c) Print all lines ending with word stopped. d) Print all lines that don't contain was.