I am writing a shell script to sort my files and I wanted the script to make a report after finishing its task. I got that AWK would be a solution for report generation. However, I do not understand how to use it in shell script. I searched many websites and I am very confused. Thanks for helping.