A reverse cat!
# cat file 1st line 2nd line 3rd line # tac file 3rd line 2nd line 1st line
Sometimes you need to process a file starting at the end, case in point a log file and you want to go from the last lines up. I remember programming something like this in C some years ago because I didn’t knew this command existed…












0 Responses to “tac”
Leave a Reply