INSTALL NCDU ON LINUX

This article walks you through the process of installing and using NCDU on a Linux server.  NCDU can be used to track disk usage in Linux.

  1. Download the latest version of NCDU by browsing to http://dev.yorhel.nl/ncdu.
  2. Upload the compressed file to your Linux server.
  3. Login to your Linux server via SSH.
  4. Browse to the directory that contains the compressed file.
  5. Unzip the compressed file.

    #tar -xzvf ncdu-1.8.tar.gz

  6.  Rename the ncdu directory

    #mv ncdu-1.8 ncdu

  7. Run the following commands:

    #cd ncdu

    #./configure –prefix=/usr

    #make

    #make install

Note : first go to root directory means to / (e.g. cd / after that run ncdu command from command prompt).

NCDU Screens-shots :

http://dev.yorhel.nl/ncdu/scr

 

Advertisements
Posted in Linux

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: