The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 07-22-2008
BMDan BMDan is offline
Registered User
  
 

Join Date: Jul 2008
Location: BlackMesh Managed Hosting
Posts: 66
How about:
Code:
$ date -d "yesterday" +"%b %d %Y"
Jul 21 2008

Last edited by BMDan; 07-23-2008 at 11:16 AM.. Reason: Misread which month encoding you wanted