I am new to the Topic and working on a few bash commands.
I am stuck at a task where i Need t ouput my result in a specific Format.
wc -l folder/*
The Output gives me:
0 folder/file13 folder/file23 total
I would like to have only the total output together with a String like:
The total number of lines is: numberOfLines
How is it possible to format my output / reduce it to a single line?I looked a bit into awk commands but I was not able to make it work.
Thank you very much in advance!