codesnippetshell

Useful with SSH

Non-Root

Reference

nohup <cmd_name> > stdout.log 2> stderr.err &

Root

Reference

nohup sudo -b <cmd_name> > stdout.log 2> stderr.err