Home ubuntu How to display the size of the terminal folder in Ubuntu?

How to display the size of the terminal folder in Ubuntu?

Author

Date

Category

du -h -s / Full / Path / To / Folder /

Output example for folder with attached folders:

669m IDEA-IC-162.1812.17


Answer 1, Authority 100%

Get the size of the folder using the Du command.

Team.

du -h - emax-depth = 1 | grep folder

Conclusion.

158m. / Pack

Answer 2, Authority 76%

You can also easier

du -h & lt; directory name & gt;

Programmers, Start Your Engines!

Why spend time searching for the correct question and then entering your answer when you can find it in a second? That's what CompuTicket is all about! Here you'll find thousands of questions and answers from hundreds of computer languages.

Recent questions