أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.
Tail is the answer.......................................
tail command on unix or linux will get you the last10 lines of the file. thanks.
The tail command will display the last few lines of a file without editing it. This command can be very useful for reviewing files that are updated frequently such as log files and quickly seeing latest added lines.