Question: Please use Linux/Unix command for these 2 questions, Thank you. processing text files Q1 counting lines with awk 5 Points Write an awk script that

 Please use Linux/Unix command for these 2 questions, Thank you. processing

Please use Linux/Unix command for these 2 questions, Thank you.

processing text files Q1 counting lines with awk 5 Points Write an awk script that counts how many there are of each unique line of input. For example, given the input one two and four one and four four the script should produce the output 2 one 1 two 2 and four 1 four the order of the output is not important. Enter your answer here Save Answer Q2 counting lines with sort and uniq 5 Points Use the commands sort and uniq to produce the same result, order is not important. Enter your answer here Save

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!