On Wed, 2008-07-16 at 09:39 +1000, Voytek Eymont wrote: > I'm trying to put together a basic script to get 'on demand' traffic info > to my handheld, all commands more or less work as desired, but, I would > like to make a 'proper script' out of it: > > I guess I should put the 'temp' files in /var/tmp ? > and, send screen output to /dev/null ? > any help or suggestions appreciated:
Rather than just redirecting all output to /dev/null , it's worth checking if the commands you're using have a "quiet" option. As previous posters have already pointed out, wget's -q option is one. Also, look in to using the mktemp command to create temporary filenames. -- Pete -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html