When I run my shell script so much of java error handling messages get displayed every single time I ran it.
I want an option of not display it to the screen for now since I am testing.
Is there a way to do this?
the way I have it right now is:
./load_data.sh TCOMPASS/Protocol >> load_semantic.log
重定向标准错误:
./load_data.sh TCOMPASS/Protocol >> load_semantic.log 2>/dev/null
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.