Text File Operations Reverse the lines of a file tail -r file Join each line of a file together with a character paste -d ',' -s file