Search Results

Search: Posts Made By: vino1989
2,255
Posted By vino1989
Help with Backup Shell Script
i need to print the first date of the previous month in 20130101 format.

i use the below script
month_year=$(date +'%m%Y' | awk '!--$1{$1=12;$2--}')
m=${month_year% *}
y=$month_year##* }...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 04:36 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy