Hands-on task
This task is step 17 of the course “awk and datamash: reports from tables”
How many unique values
/root/colors.txt has about a hundred lines: one color per line, with lots of repeats. Count the number of distinct values with datamash and write it to /root/uniq.txt.
Reference:datamash
What you'll practise:
- datamash
- countunique
- unique values
- counting