Skip to main content
edited tags
Link
Gilles 'SO- stop being evil'
  • 865.5k
  • 205
  • 1.8k
  • 2.3k
Tweeted twitter.com/#!/StackUnix/status/532226250102673408

how How to view last 5 lines from last modifiedcreated/modified file in linux?

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*.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 extentionextension) in linux as with *.aff*.aff file? other files are also created e.g. *.log *.log, etc.

how to view last 5 lines from last modified file in linux

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 extention) in linux as with *.aff file other files are also created e.g. *.log, etc.

How to view last 5 lines from last created/modified file?

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.

Source Link
Ashish
  • 61
  • 1
  • 2

how to view last 5 lines from last modified file in linux

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 extention) in linux as with *.aff file other files are also created e.g. *.log, etc.