View Single Post

  #3 (permalink)  
Old 10-30-2007, 01:02 AM
vikas027 vikas027 is offline
Member
User
 
Join Date: Oct 2007
My distro: Linux RHEL 5
Posts: 33
Rep Power: 0
vikas027 is on a distinguished road
Unhappy

Quote:
Originally Posted by nixcraft View Post
Try to redirect output or error device:
Code:
/path/to/command  > /dev/null
Or better:
Code:
/path/to/command >/dev/null 2>&1
Its giving error,
I m running

Code:
/home/test/script.sh > /dev/null 2>$1
Reply With Quote