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