What is the best approach to hide a backgrounded processes output from the command line screen? I have the below script that backgrounds start.jar which is a web server. Any ideas?
Unix Shell Script:
cd examples/appserver
java -jar start.jar &
This is exactly what /dev/null, the output sink, is for.
java -jar start.jar > /dev/null &
java -jar start.jar > /dev/null 2>&1 & to dump standard error too