0

I successfully run my shell script on background by the following command:

./MyShell.sh &

However, there are some useless warnings and messages which appear on my screen. I have used the following command to prevent messages from showing up but all messages appears on screen yet.

./MyShell.sh & 2> /dev/null

What should I do?

Mehdi
  • 1,146
  • 1
  • 14
  • 27

0 Answers0