My Favorite Linux Command line tools & Commands

Home / Blogs / My Favorite Linux Command line tools & Commands

Disk Space Analyzers

df – command

This command can quickly give a glance of how much space are consumed and left out on overall level. For example, below image shows that I have consumed 51% of my disc, so I have 49% left out.

NCDU

The below command worked for me in bitnami stack however there are also other commands for other OSes. The key feature about NCDU is we can analyze from the root folder and easily navigate with arrows and enter the key to see which is occupying more space. Remember to use Ctrl+Z to exit this at any time.

sudo apt install ncdu

Folder & File Permission

Command: chmod
Recursive: -R
All Read Write: a+r+w

sudo chmod -R a+r+w /FOLDER/

Leave a Reply

Your email address will not be published.

%d bloggers like this: