Create log file against a script
Dear friends ,
Is it possible to create a "logfile" against a script in Linux platform ?
Suppose I have a script like following :
=============================================
Date1=`date +%d%b%Y`
Date2=`date +%d%b%Y`.`date +%I`.`date +%M%p`
cd /test
tar -cvf test1_$Date2.tar test1
tar -cvf test2_$Date2.tar test2
ftp -i -v -n 192.168.10.1 <<END_FTP
user oracle oracle
binary
cd /tmp
mput test1_$Date2.tar
mput test2_$Date2.tar
bye
============================================
Now if I want to create a logfile against this script , then is it possible ? plz inform me .....
|