I would like to pipe the output of
tree command to
more, ignoring the first line. Then redirect the output of
more command to a file. If I type
tree SOME_DIRECTORY | more +2 >> OUTPUT_FILE
The first line still appears in OUTPUT_FILE.
But if I type
tree SOME_DIRECTORY | more +2
the first line doesn't appear on the terminal.
Can anyone point out what mistake I was making ?