How to copy output from a terminal?

Linux for blind general discussion blinux-list at redhat.com
Tue Nov 30 10:26:23 UTC 2021


Your problem is that errors go to stderr and normal output goes to stdout,
but never fear Linux has you covered.
$ ./command 2>&1 | tee -a command.log
That sends those errors to stdout and tee writes all of that into
command.log


On Tue, 30 Nov 2021, Linux for blind general discussion wrote:

> Hello,
>
> and what about copying errors? I can't boot to Stormux in Mate desktop and I
> have long bug. How can I save it, when I am in console? is some way to share
> it with Storm and others? If I write them I have some bug, they cannot help
> me, because some bug is really large termine.
>
> Thanks.
>
> Best regards
>
> Vojta.
>
> Dne 30. 11. 21 v 10:42 Linux for blind general discussion napsal(a):
> > $ ./startwin.sh|tee startwin.log does it destructively.
> > $ ./startwin.sh | tee -a startwin.log does it non-destructively and
> > appends onto an existing file with the same name.
> >
> >
> > On Tue, 30 Nov 2021, Linux for blind general discussion wrote:
> >
> >> Hi all,
> >>
> >>
> >> I still have a few things I need to fix, but as the subject states, I don't
> >> know how to copy the output from a terminal so I can ask for help from the
> >> relevant mailing lists/forums.
> >>
> >>
> >> I am using Mate-Terminal with Orca in Fedora Mate Compiz 35. I know you can
> >> copy text off a console using speakup, but I am not in a console, now am I?
> >>
> >>
> >> If anyone has any advice, I'd be appreciative. If there is a way, for
> >> example
> >> to pype the output from a command to a text file, for example if I type
> >>
> >>
> >> $ ./startwin.sh
> >>
> >> Which is how I would start my qemu Windows VM, can I pype the output to a
> >> text
> >> file in '~/'?
> >>
> >>
> >
> > _______________________________________________
> > Blinux-list mailing list
> > Blinux-list at redhat.com
> > https://listman.redhat.com/mailman/listinfo/blinux-list
> >
>
> _______________________________________________
> Blinux-list mailing list
> Blinux-list at redhat.com
> https://listman.redhat.com/mailman/listinfo/blinux-list
>
>




More information about the Blinux-list mailing list