20 pts.
 Last 5 lines of my log file
Hi, I am looking for a UNIX command that would return me the last 5 lines of my file. Can anyone help? Thanks

Software/Hardware used:
ASKED: September 30, 2008  7:52 AM
UPDATED: September 30, 2008  2:28 PM

Answer Wiki:
tail does the last 10 lines by default. The -n parameter will allow you to specify how many lines that should be returned. example: tail messages.log -n 5
Last Wiki Answer Submitted:  September 30, 2008  2:28 pm  by  Labnuke99   32,645 pts.
All Answer Wiki Contributors:  Labnuke99   32,645 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _