Is there a way to hide the exit code of the background jobs that have finished?
For example, if I run:
sleep 5&
After the 5s, if I hit return the terminal gives me:
[1]+ Done sleep 5
Is there a way to hide/suppress the last notification?
Particulary I have to do this: nohup script >> file.txt & And after that I don't want anything more on the terminal (stdout)
/dev/null
?