티스토리 뷰

공부

[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

'공부' 카테고리의 다른 글

[airflow] awsHook  (0) 2023.08.05
[bitbucket] get repository UUID  (0) 2023.08.05
원피스 1화~1084화 100분 만에 다보기 [26년 분량 요약]  (0) 2023.07.30
[python] socket  (0) 2023.07.30
[s3] iam role or user policy  (0) 2023.07.30
댓글