Redirect output to file

184 views
Skip to first unread message

Marko Bogdanović

unread,
May 30, 2017, 4:57:32 PM5/30/17
to taskspooler
How to redirect output to custom file? Not in temp.

Lluís Batlle i Rossell

unread,
May 30, 2017, 5:27:40 PM5/30/17
to tasks...@googlegroups.com
Hello.

You can use bash. For example: ts bash -c "mycommand > outputfile"

That will be valid for stdout alone. It is just an example.

On Tue, May 30, 2017 at 01:57:32PM -0700, Marko Bogdanović wrote:
> How to redirect output to custom file? Not in temp.
>
> --
> You received this message because you are subscribed to the Google Groups "taskspooler" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to taskspooler...@googlegroups.com.
> To post to this group, send an email to tasks...@googlegroups.com.
> Visit this group at https://groups.google.com/group/taskspooler.
> For more options, visit https://groups.google.com/d/optout.


--
(Escriu-me xifrat si saps PGP / Write ciphered if you know PGP)
PGP key D4831A8A - https://emailselfdefense.fsf.org/
Reply all
Reply to author
Forward
0 new messages