Looking for a UNIX command to execute it from application.
How to prefix zero's to make the total number as 8 digits for a word count of a specific file and print the output to a file, ex:
$ wc -l < test if the output is 200
I need to change it to 00000200 and it should go into a file. Word count may change for each file because of it the command should be generic.