Question: Suppose you have created a C program hello.c and you have successfully compiled it using gcc and obtained the output file hello. You know when
Suppose you have created a C program hello.c and you have successfully compiled it using gcc and obtained the output file hello. You know when you run it the program would print a lot of messages on screen (e.g. several hundred lines) and you want to find out how many lines of output would be printed but you do not want to save these output messages into an external file. What Linux command(s) can you use to find out how many lines are output? Please type the complete command(s) that achieves the functionality
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
