Unix command to find file size in directory
Sushmit Chakraborty Sushmit Chakraborty 6 6 bronze badges. Thomas Thankyou for the information,I didnt know that. Add a comment. Active Oldest Votes. Improve this answer. Thomas Thomas k 43 43 gold badges silver badges bronze badges. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name.
Email Required, but never shown. The Overflow Blog. To match all files ending in. You can specify the following actions for the list of files that the find command locates:.
For example, for a long listing of each file found, use:. For more, consult the Unix manual page by entering at the Unix prompt:. This is document admm in the Knowledge Base. Last modified on Skip to: content search login. Knowledge Base Toggle local menu Menus About the team. Knowledge Base Search. Pipe it to a text file with the following command in the terminal. NCDU is a text-based disk usage analyzer, and it can easily be used to find Linux directory sizes.
Then, install it using the instructions down below that corresponds with your Linux OS. Once the NCDU app is installed, use the following command to launch a scan against a directory to check the size of the subfolders inside. To start, you must install the app. You must install Tree because it is not a default app on any mainstream Linux OS. To install Tree, start by launching a terminal window on the desktop. Once the terminal window is open, follow the command-line installation instructions outlined below that corresponds with the OS you currently use.
With the app open, it is time to use it to find directory file sizes.
0コメント