Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: RudiC
2,905
Posted By RudiC
Try this (but you won't see what you type);exec...
Try this (but you won't see what you type);exec 5>&1 6>&2 >&a.log
cat a.txt
exec 1>&5 2>&6This saves stdout and stderr to some dummy file descriptors, redirects them to x.log, and later restores...
Showing results 1 to 1 of 1

 

Featured Tech Videos

All times are GMT -4. The time now is 12:44 PM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy