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 UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #5 (permalink)  
Old 07-03-2007
ramnayakam ramnayakam is offline
Registered User
 

Join Date: Jun 2007
Posts: 2
Try using the following command,

du -a | sort -n | tail -2 | head -1 | cut -f2

Thanks,
Seetharaman
Reply With Quote