Menu
Newbedev LogoNEWBEDEV Python Javascript Linux Cheat sheet
Newbedev LogoNEWBEDEV
  • Python 1
  • Javascript
  • Linux
  • Cheat sheet
  • Contact

linux check directory size in gb code example

Example 1: how to check folder size in linux

# show all folder size in the current directory
du -h --max-depth=1

Example 2: command to check size of folder in linux

du -lh --max-depth=1 --block-size=M | sort -nr

Tags:

C Example

Related

input file photo code example linux sound recorder code example chose image in html code example convert categorical to codes pandas code example sponser footer html code example how to remove punctuatioon from text string.punctuation code example java how to tell if one number divides into another code example node fs readfile async code example how to get json data in javascript code example how to restart a computer using cmd on windows 10 code example react hook plugin eslint code example how to do and in an if statement python code example

Recent Posts

Pandas how to find column contains a certain value Recommended way to install multiple Python versions on Ubuntu 20.04 Build super fast web scraper with Python x100 than BeautifulSoup How to convert a SQL query result to a Pandas DataFrame in Python How to write a Pandas DataFrame to a .csv file in Python
© 2021 newbedevPrivacy Policy