I\'d like to add a header to a tab-delimited file but I am not sure how to do it in one line in linux.
Let us say my file is:
Customary awk answer.
awk
awk 'BEGIN { print "name\tage\tuniversity\tcity" } { print }' yourfile > /tmp/out && mv /tmp/out yourfile