Can I print the date of a specific date?
Let say, today is 20 and I want to print in date format the day 14
I know that I can do this:
date --date='last Mon'
How can I do this?:
date --date='last 14'
I Need to compare 1st two columns of two files, if the results are equal need to print the 2nd column of 1st file into 2nd file for all the matches in 1st file.
I'm trying to display a specific date in unix, using the date command, I can't figure out how to display a date other than today's date.
For example, if I was trying to display "July 4, 2011"
I use $date +"%B %d, %Y"
But I keep getting today's date in that format. How can I change it so that it displays the date I want?