Click to See Complete Forum and Search --> : Unix command ?


crazyheffro
05-09-2003, 02:09 PM
I am having trouble publishing a site. I want to look at the server log to figure out what is going on, but it is fricken huge (.5gig) I don't want to spend 20 mins downloading the beast to everytime. Is there a way to view the last X bytes of a file?
Thanks

crazyheffro
05-09-2003, 02:17 PM
nevermind. I found an answer:

tail -n # filename
eg:
tail -n 50 access.log
will give you the last 50 lines of the log file access.log