linux - Logging output from executable -


is possible in linux start program ./program , outputs gets written output.txt file?

how ./program > /tmp/mylogfile.txt 2>&1

sending /tmp/mylogfile.txt file.

the > redirection of standard out (stdout) , 2>&1 redirects standard error (stream file descriptor 2) standard out (stream file descriptor 1)


Comments

Popular posts from this blog

ios - Pass NSDictionary from Javascript to Objective-c in JavascriptCore -

python - PyInstaller UAC not working in onefile mode -

wso2is - WSO2 IS 5.0.0 SP1 After restart there is authentication error -