I read a solution about running 2 commands at the same time from command line by spawning another process. Say I want to run
commandB then what I have to write in script is:
commandA & commandB
But the problem is, when I run the script, it gives me output in terminal some number (probably PID I think, because if I call
kill <that_number> it stopped the commandA process) like this:
[ 1 ] 2592 # after some time program running [ 1 ] + 2592 done
My question is:
- What is it that number exactly?
- How do I disable that output number? Tried to redirect stdout and stderr to dev null doesn't seem to work...