Hi, How to get awk prints the last 5 lines of the file and one line before last 10 lines. Thanks Minh