Unix command for directory and file size

Synopsis

Many people use ls command to find size of file in Unix but Surprisingly ls command does not display total size of a directory including files and sub

Statistics

  • Total Hits - 36823

  • Total Votes - 118 votes

  • Vote Up - 50 votes

  • Vote Down - 68 votes

  • Domain - javarevisited.blogspot.com

  • Category - Linux/Basic Concepts

  • Submitted By - Javin Paul

  • Submitted on - 2012-06-23 04:13:04

Description

Many people use ls command to find size of file in Unix but Surprisingly ls command does not display total size of a directory including files and sub directory. In order to get full size of directory use following command.

Source Website

Please use the following link to visit the site. There is a possibility that this content has been removed from the given URL or may be this site has been shut down completely.

http://javarevisited.blogspot.com/2012/03/how-to-find-file-and-directory-size-in.html

Broken  |   Save  |   Liked  |   Down

Advertisements