What Linux commands would you use successively, for a bunch of files, to count the number of lines in a file and output to an output file with part of the corresponding input file as part of the output line. So for example we were looking at file LOG_Yellow
and it had 28 lines, the the output file would have a line like this (Yellow
and 28
are tab separated):
Yellow 28