How to compare two dates using UNIX commands [closed]
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 7 years ago . I have dates like this Date1="Wed Oct 21 13:05:14 2012" Date2="Wed Nov 21 12:55:30 2010" Date3="Wed Nov 21 14:22:30 2012" How do I find out the latest date? 回答1: The unix date command can convert date formats,