The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Date and time log file
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
Date and time log file
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
4
(
permalink
)
09-03-2007
namishtiwari
Registered User
Join Date: Aug 2007
Location: Bangalore
Posts: 377
you can do--
str1=`date "+%d%m%y"`
and use this variable in the logfilename.
log1_$str1.txt
Thanks
Namish
namishtiwari
View Public Profile
Find all posts by namishtiwari
Find namishtiwari's past nominations received
Find namishtiwari's present nominations given