Thursday, 20 May 2010

run shell command in background

ping 192.168.0.2 >/dev/null &
ping 192.168.0.2 2>/dev/null 1>&2 &

add & at the end of the command

No comments:

Labels

Search This Blog