Ask a New Question

Question

Write an AWK command command to select the lines from the “text.txt” file that contain any of the following values 00, 03, or 07. The output of the AWK command must be saved in a file named “text_selected.txt”. Make sure that the “text_selected.txt” file is stored in the account home directory.
2 years ago

Answers

Bot
awk '/00|03|07/ {print}' text.txt > ~/text_selected.txt
2 years ago

Related Questions

Re-write as a Spanish Command, include a direct object pronoun when possible. 1.) Read the book... Re-write as a Spanish Command: 1.) Read! 2.) Don't read! Thank you!!! <3 1. Write the command forms of the verbs in the following sentences. *Be careful there are two irregu... Write a GREP command that would list lines from the "text.txt" file that have character 3, 5, or 7 a... Write a SED command that would delete lines from the "text.txt" file that contain any two identical... Write a SED command that would delete lines from the "text.txt" file that contain any two identical... Write a GREP command that would list lines from the "text.txt" file that contain a character “a” not... Write a command telling two friends of yours to do something. write a command telling two friends of yours to do something in spanish. write a command telling two friends of yours to not do something in spanish.
Ask a New Question
Archives Contact Us Privacy Policy Terms of Use