Every day I have to take backup and update the status to support teams at particular time for which I need to check last 5 lines of last created/modified *.aff
file in a directory and update them.
Can anyone please let me know how to view last 5 lines from last modified file (particular extension) in linux as with *.aff
file? other files are also created e.g. *.log
, etc.