--- Manish Popli <[EMAIL PROTECTED]> wrote: > Error is ..when i run it manually > I din't get your mean about shell.........
It is possible that the shell that the script is run under is not bash, but some other shell that handles variables differently. > [EMAIL PROTECTED] cvs_bkp]# date=`date -I` mv > /home/manish/cvs_bkp/cvs_bkp.tar > /home/manish/cvs_bkp/cvs_bkp$date.tar No, try it on two lines, as it was in the script, i.e., date=`date -I` mv /home/manish/cvs_bkp/cvs_bkp.tar /home/manish/cvs_bkp/cvs_bkp$date.tar Or, simply execute the script itself. No offence, but you would do well to get a book, or some document on shell scripts, and read it. This is quite basic stuff. Regards, Gora __________________________________________________________ Yahoo! India Matrimony: Find your partner now. Go to http://yahoo.shaadi.com _______________________________________________ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/