using the bash sort command, now do I sort dates ?

Posted on 2009-02-23
Last Modified: 2013-12-26
The data is:

 02/05/09 000218L3
 02/02/09 000304L3
 01/19/09 000294L3
 01/28/09 000379L3
 02/02/09 000036L3
 01/23/09 000207L3
 01/19/09 N00311L3
 02/23/09 000405L3
 12/29/08 000051L3
Question by:itguy411
    LVL 48

    Accepted Solution

    sort -t/ -n -k3 -k1 -k2 file
    LVL 84

    Assisted Solution

    sort -t/ -k3,3.2
    LVL 84

    Assisted Solution

    sort -t/ -n -k3

    Author Closing Comment

    You do not now how much this has helped !!!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    Suggested Solutions

    I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
    How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now