![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Running UNIX commands remotely in Windows box from Unix box – avoid entering password | D.kalpana | UNIX for Dummies Questions & Answers | 1 | 04-20-2007 02:24 AM |
| sysdate -p -f%d/%m/%Y | abu_hassan | UNIX for Dummies Questions & Answers | 1 | 02-11-2007 08:26 AM |
| FTP script for sending a file from one unix directory to another unix server director | raja_1234 | Shell Programming and Scripting | 1 | 11-30-2006 03:57 AM |
| How to get sysdate -1 | gopskrish | UNIX for Dummies Questions & Answers | 2 | 06-23-2005 03:38 AM |
| Getting sysdate - 2 by an unix command | josecollantes | UNIX for Advanced & Expert Users | 4 | 08-31-2001 02:26 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
sysdate -1 in unix
I need to automate the creation of a file. It needs to have the date of the previous day. In sqlplus we use sysdate -1 but I checked the man page for date and didn't find a similar command. This is what I use for creating a file for the current date:
rciind`date '+%m%d%Y'`.txt What do I need to change to get the date of the previous day? |
| Forum Sponsor | ||
|
|
|
||||
|
Possible the most frequently asked question on UNIX.COM, please use the search before posting.
Yesterdays Date/Date Arithmetic |
||||
| Google The UNIX and Linux Forums |
| Thread Tools | |
| Display Modes | |
|
|