Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
list dir sort by size (inc file)
Name: jijej Date: September 26, 2002 at 22:02:34 Pacific OS: unix CPU/Ram: p4 , 128 Mbyte
Summary: Hi there, I was wondering if someone could help me out real quick. I am trying to display a list of the /etc directory and sort the output by size and place the smallest files on the bottom of the out...
Summary: I have a file in the following format... 01/01/2003 20 01/02/2003 15 01/03/2000 1 01/03/2001 1 01/03/2002 1 01/03/2003 47 01/04/2000 2 01/04/2002 2 01/04/2003 26 When I...
Summary: First, the positions you want to sort by do not agree with your data file. Therefore, I choose to sort by characters 22 to 30 sort -t \& -k 1.22,1.30 myfile Since sort by default uses white space fo...