Introduction
In this tutorial we learn how to install disk-filltest
on Kali Linux.
What is disk-filltest
disk-filltest is:
The number of hard disk produced in the last five years is huge. Of course,
this is the same number of hard disks that will most probably fail in the next
five years, possibly with catastrophic consequences for the particular user or
business.
The simple tool disk-filltest can help, together with S.M.A.R.T. monitoring, to
check disks periodically and thus be forewarned about coming failures. The
function of disk-filltest is simple:
- Write files random-######## to the current directory until the disk is full.
- Read the files again and verify the pseudo-random sequence written.
- Any write or read error will be reported, either by the operating system or
by checking the pseudo-random sequence. - Optionally, delete the random files after a successful run.
There are three methods to install disk-filltest
on Kali Linux. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install disk-filltest Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install disk-filltest
using apt-get
by running the following command:
sudo apt-get -y install disk-filltest
Install disk-filltest Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install disk-filltest
using apt
by running the following command:
sudo apt -y install disk-filltest
Install disk-filltest Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install disk-filltest
using aptitude
by running the following command:
sudo aptitude -y install disk-filltest
How To Uninstall disk-filltest on Kali Linux
To uninstall only the disk-filltest
package we can use the following command:
sudo apt-get remove disk-filltest
Uninstall disk-filltest And Its Dependencies
To uninstall disk-filltest
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove disk-filltest
Remove disk-filltest Configurations and Data
To remove disk-filltest
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge disk-filltest
Remove disk-filltest configuration, data, and all of its dependencies
We can use the following command to remove disk-filltest
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge disk-filltest
Dependencies
disk-filltest have the following dependencies:
References
Summary
In this tutorial we learn how to install disk-filltest
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.