nohup.out code example Example 1: nohup & 2 &1 nohup command >/dev/null 2>&1 Example 2: nohup set output file nohup some_command &> nohup2.out &