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:
perl -i -lne 'if($.==1){print "newline\n$_"}else{print}' your_file