Uncategorized Print Only Last Line Linux / Only difference here is the scope of the by printing the first line of the tac output using the head, we will get the last line of the file printed. What version are you using?