-   Linux - Newbie (
-   -   display date (

user52 11-28-2006 07:08 AM

display date
hello sir

sir i create shell scirpt for export backup

and now i want to schedule it..
so i want exp bkp file take sysdate automatically everyday....

so sir how can i add sysdate with exp backup like
file=exp_sysdate ( 28112006)


acid_kewpie 11-28-2006 07:15 AM

just use the date command, e.g

echo hello the date is $(date) > atextfile-$(date +%d%m%y)

user52 11-28-2006 07:20 AM

sir thanx for ur reply i am not understand plz help

sir my shell script like

name is
./exp hr/hr tables=emp file=/db/bkp/exp_sysdate(here i want date)


sir plz reply how can i use date variable in my above script.

thank you..

All times are GMT -5. The time now is 10:24 AM.