About Me

My photo
Working as Technical Lead in CollabNET software private limited.

Thursday 16 April, 2009

AWK to take last previous column

You can use the below command to print last previous column.

awk '{print $(NF-1)}' access.log | sort | uniq | wc -l

No comments: