The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 02-15-2005
oggle oggle is offline
Registered User
  
 

Join Date: Feb 2005
Location: Bedford, UK
Posts: 3
How to check if 3 files have same size in directory

I need to determine if any three files have the same file size in a specified directly?

I have got as far as listing the file sizes but where to go from here?

ls -al |sort -n -r +4 | awq '{print $5}'

Thanks in anticipation