공부
[sh] stdout & stderr > err.log
승가비
2023. 8. 5. 22:02
728x90
./script.pl > out.log
./script.pl 2> err.log
./script.pl > out-and-err.log 2>&1
https://stackoverflow.com/questions/15344547/how-to-see-stderr-output-in-linux
How to see stderr output in linux
In a script in perl I have the following: print STDERR "Access error" I would like know where this message is printed, but I don't know how can I see the Standar error output in LInux.
stackoverflow.com
728x90