Linux CLI - Text Processing
Given a file
What is the output of
data.txt with the following content:apple 10 red banana 5 yellow cherry 20 red
What is the output of
awk '{print $1, $3}' data.txt?