Hello,
Welcome to the forum ! We hope you enjoy your time here, and find this to be a friendly and helpful place.
The way we typically try to help our users here is to ask in the first instance to see what they have tried so far. Now, you mention that you have no idea how to begin. Well, one good place to start would be to look at one of the most typical ways of selecting portions of a given piece of input, which is via the use of awk
.
To see an example of how to do this, there are various threads here on the forum which have discussed this over the years, but one of the more recent ones I remember helping someone with would be this one:
Transfer data from log file to excel
Have a read over that, and give it a go - try implementing a solution that picks out the pieces of input that you require, and let us know how you get on. Also, when you get back to us, if you could provide information on your environment (e.g. operating system, hardware platform, shell, etc), that would be great.
Hope this helps !