RE: shell script

RE: shell script

 

  

Try this:
############################################################################
#

#!/usr/bin/ksh
export DATE=`date '+%d-%b-%Y'`
export FILENAME="sample"

touch ${JOBNAME}_${DATE}

############################################################################
#

With Regards / Lokesha R.
ANDC, ITC Infotech India Limited,
Banaswadi Main Road, Bangalore - 560005.

Ph: 080-25490531 Extn:8328
Email: lokesha.[Email address protected]


-----Original Message-----
From: Manish Sahay
[mailto:oracledba-ezmlmshield-x45879106.[Email address protected]
Sent: Thursday, August 30, 2007 6:57 PM
To: LazyDBA Discussion
Subject: shell script



Hi,

I need to create a shell script, where I need to create a file as per
sysdate and exit.

Can anyone help me out to achieve this?


Manish Kumar Sahay



A journey of a thousand miles begins with a single step." Make sure you are
there and on time !!



============================================================================
================================================

Disclaimer:

This message and the information contained herein is proprietary and
confidential and subject to the Tech Mahindra policy statement, you may
review the policy at <a
href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.c
om/Disclaimer.html</a> externally and <a
href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.c
om/Disclaimer.html</a> internally within Tech Mahindra.

============================================================================
================================================


---------------------------------------------------------------------
TO REPLY TO EVERYBODY , PLEASE CLICK REPLY-ALL, NOT JUST REPLY To post a dba
job: http://jobs.lazydba.com To Subscribe : http://www.LazyDBA.com To
unsubscribe: http://www.lazydba.com/unsubscribe.html





Disclaimer: This communication is for the exclusive use of the intended recipient(s) and shall not attach any liability on the originator or ITC Infotech India Ltd./its Holding company/ its Subsidiaries/ its Group Companies. If you are the addressee, the contents of this e-mail are intended for your use only and it shall not be forwarded to any third party, without first obtaining written authorization from the originator or ITC Infotech India Ltd./ its Holding company/its Subsidiaries/ its Group Companies. It may contain information which is confidential and legally privileged and the same shall not be used or dealt with by any third party in any manner whatsoever without the specific consent of ITC Infotech India Ltd./ its Holding company/ its Subsidiaries/ its Group Companies.


Oracle LazyDBA home page