Re: appending both stderr and stdout to a single file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Marq wrote:

ls >> dirlist 2>>&1

this will redirect stdout first and then the stderr

but i need to redirect the both output as it appear in the screen (with out
redirection)

Not sure if tee will support stderr, but you *could*
process >> rpt 2>>&1 &
tail -f rpt

	mark

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux