Skip to main content

I'm watching the output of my complicated command with lessless, problem is the stderrstderr gets lost. Stderrstderr lines normally get listed inbetween stdoutstdout lines inside lessless. I would like them to be printed to the console, and when I exit lessless, to see them there together.

I realize there might be no solution to this, I read about teetee and multiteemultitee but no luck so far.

Thanks!

I'm watching the output of my complicated command with less, problem is the stderr gets lost. Stderr lines normally get listed inbetween stdout lines inside less. I would like them to be printed to the console, and when I exit less, to see them there together.

I realize there might be no solution to this, I read about tee and multitee but no luck so far.

Thanks!

I'm watching the output of my complicated command with less, problem is the stderr gets lost. stderr lines normally get listed inbetween stdout lines inside less. I would like them to be printed to the console, and when I exit less, to see them there together.

I realize there might be no solution to this, I read about tee and multitee but no luck so far.

Post Migrated Here from stackoverflow.com (revisions)
Source Link
haelix
  • 438
  • 1
  • 5
  • 15

Linux less behavior and stderr

I'm watching the output of my complicated command with less, problem is the stderr gets lost. Stderr lines normally get listed inbetween stdout lines inside less. I would like them to be printed to the console, and when I exit less, to see them there together.

I realize there might be no solution to this, I read about tee and multitee but no luck so far.

Thanks!