If I run a process in the back ground like
find . -name "abc" &
after the process is complete we get a msg like
[1] + Done find . -name "abc" &
Is it possible to redirect this msg to /dev/null
Thanks for your help
If I run a process in the back ground like
find . -name "abc" &
after the process is complete we get a msg like
[1] + Done find . -name "abc" &
Is it possible to redirect this msg to /dev/null
Thanks for your help
Shamelessly stolen from a google search
If you want to review the output later you can just use >:
Code:
command parameter > logfile
Any output from "command" will be redirected to a file named "logfile". If you just want the messages to go away entirely (and don't need to review them later you can redirect to null:
Code:
command parameter > /dev/null
This has essentially the same effect as telling the program to run in "silent" mode, since all messages are redirected into nothing, thus they just disappear.