|
-
oracle@oem01--/export/home/oracle>todays_date=`date +%d`
oracle@oem01--/export/home/oracle>echo $todays_date
24
oracle@oem01--/export/home/oracle>let X=todays_date-1
oracle@oem01--/export/home/oracle>echo $X
23
soooo...
oracle@oem01--/export/home/oracle>date
Thu Apr 24 15:11:18 CDT 2003
oracle@oem01--/export/home/oracle>date +%a' '%b' '$X' '%H':'%M':'%S' '%Z' '%Y
Thu Apr 23 15:15:12 CDT 2003
hope this helps
Last edited by mharoon99; 04-24-2003 at 04:22 PM.
Moe M Haroon
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|