Not only specific questions but use a subject title that will aid you along with everyone else the means to understand what you are asking. 'Linux' is not descriptive to your question nor needs.
If you want a 'tutorial' then look at 'Awk
' and 'Grep
' is your friend. 'man
' is there to aid you in understanding the commands(s).
The two 'man' links are online to aid. If you have 'man' pages then you can always get assistance.
The above links and others available from 'Slackware-Links
'. More than just SlackwareŽ links!