Copyright © 2008-2018, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.
Date: 2012oct25 OS: Linux, cygwin Keywords: biggest, smallest, space Q. How I can I find the largest file in a directory? A. Show the top ten files in the current folder by size:ls -Sl | headThe -S option for ls sorts by size.
Add a commentSign in to add a comment