commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
You don't want the -ar parameters in this case. The man page for BASH_BUILTINS(1) states:
"-a option means to remove or mark all jobs" and
"-r option without a jobspec argument restricts operation to running jobs"
In this case we are supplying the process id of the job to disown so neither of these should be used.
There is 1 alternative - vote for the best!
A little bash daemon
If you can do better, submit your command here.
You must be signed in to comment.