Is there a way to append a header to a "grepped" output?
27852
How to grep a specific line _and_ the first line of a file?
48721
Output to be saved in file named same as the input file
9935
Create customized header (metadata) for files
54089
sed append after a line containing multiple unordered strings
49254
how to get output of a script/program into a file?
151750
Header file included only once in entire program?
131327
Redirect output from all commands to file, not just last
36252
Capturing multiple line output into a Bash variable
125102
breaking of output into new lines
76512
Outputting the contents of a list of a custom data type
135343
`free`: output format
64426
How do I add text to the beginning of a file in Bash?
55542
How do I redirect command output to a file?
135183
Using pre-compiled headers with CMake
33562
How to redirect output to a file and stdout
99629
How to combine two grep statements and display their results together?
8660
Output to stdout and at the same time grep into a file