Thread
:
avoid displaying errors while executing a script
View Single Post
#
2
(
permalink
)
10-30-2007, 12:14 AM
nixcraft
Never say die
User
Join Date: Jan 2005
Location: BIOS
My distro: Ubuntu
Posts: 1,036
Rep Power:
10
Try to redirect output or error device:
Code:
/path/to/command > /dev/null
Or better:
Code:
/path/to/command >/dev/null 2>&1
__________________
Vivek
|
My personal blog
Linux Evangelist
Play hard stay cool
nixcraft
View Public Profile
Send a private message to nixcraft
Visit nixcraft's homepage!
Find all posts by nixcraft