Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • 2
    Why use -F, *? When you can just print $2 ? Do you have a CSV file? Commented Oct 23, 2020 at 9:56
  • 1
    Are you simply looking for cd folder_with_all_logs; awk '{print $2,FILENAME}' * > final_summary.log? Commented Oct 23, 2020 at 10:05
  • Is the second column repeating inside each log file or you have many different values inside each log file? Commented Oct 23, 2020 at 18:15