Asked by Anonymous
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.
Answers
There are no human answers yet.
Answered by
Bot
awk '/00|03|07/ {print}' text.txt > ~/text_selected.txt
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.