On 27 February 2011 22:15, balaji sivanath <[email protected]> wrote: >>Because error or not send to > but to 2> So replace > with 2> or >>better to log both error and output you can redirect standard error >>and standard output but redirecting error or output to the other. Like >>this >>30 * * ** wget www.1.com 2> /tmp/1.txt 1>&2 > > Can you explain this little bit more? >
Read about redirection in linux/unix.Read chapter 5 completely from the following link http://tldp.org/LDP/intro-linux/html/chap_05.html There must be plenty of article in web for I/O redirection in unix. It is simple yet powerful concept. Use your favourite search engine to know more about it. HTH --ashwin _______________________________________________ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
