Hands-on task
This task is step 10 of the course “cut, sort, uniq and friends”
join: merge by key
Two files are sorted by their first field (the key): /root/a.txt (id name) and /root/b.txt (id city). Join them by the key and write the lines id name city to /root/joined.txt.
What you'll practise:
- join
- merge by key
- sorted files
- relational operations