Hands-on task
This task is step 5 of the course “Text in the terminal: grep, sed, awk”
Merge files by columns
There are two files of the same length: /root/names.lst (names) and /root/emails.lst (emails), one entry per line. Merge them line by line into two columns separated by a tab (name, then email) and write to /root/contacts.tsv.
Reference:paste
What you'll practise:
- paste
- column merging
- tab
- tsv