I am new user to ubuntu...
Putting & and in the end is putting the application on background, but not really, it still gives me the output of the perl script in my command line even though it is running in background. So it becomes useless as I have to wait for full script to be completed.
output of perl..
So I still to have to wait till the perl script is executed, is there any way how such type of scripts can be made to run in background so that I don't have to wait?
I have already tried following:
command > test.txt //This generated emptyfile test.txt and all the output is still on command line instead of test.txt
command > /dev/null
command < /dev/null
None of them have been successful.
Please don't suggest to open new command line console, by doing CTRL+SHIFT+T or CTRL+ALT+T because I don't wanna do that, I wanna run the perl script in background while doing some work.
For other perl scripts, & is working fine but for this one, it isn't, is there any way around?
edit: Got the solution thanks to John1024 and Volker Siegel.
command 2> /dev/null &