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/

Ajay is a professional developer and architect of LabVIEW applications with extreme interest in getting the hardware connected to LabVIEW and automate the stuffs.  He is also a good mentor for the various interns in his career.  He is ready to help the people in techie roles.

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: