The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 10-02-2007
coolbhai coolbhai is offline
Registered User
  
 

Join Date: Jun 2007
Posts: 30
Question

Example : If I list files in a directory ( ls -lrt ) it shows like below.

c3
b4
b3
a4
a3
c2
b2
c1
b1
a2
a1

What I need is

c3
c2
c1
b4
b3
b2
b1
a4
a3
a2
a1

How can this be achieved using a command. ?