Error message

Deprecated function: The each() function is deprecated. This message will be suppressed on further calls in menu_set_active_trail() (line 2385 of /home/dograus/public_html/dograworld/includes/menu.inc).

how to run command in background with standard input and error logging to file

0 =  STDIN
1 = STDOUT
2 = STDERR
 
# following command write standard output=1 to out.log, &=run in background, 2>&1=redirect STDERR to STDOUT
$> nohup command.sh >out.log & 2>&1
OR
$> nohup command.sh 1>out.log & 2>&1
 

Who's new

  • s10
  • CIIUifBwwC

Who's online

There are currently 0 users online.