nilfs-resize command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
nilfs-resize: command not found
or when using sudo you get the following error message
sudo: nilfs-resize: command not found
Solutions to nilfs-resize: command not found
How To Fix nilfs-resize: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu nilfs-resize is provided by nilfs-tools package.
nilfs-tools is:
NILFS is a new implementation of a log-structured filesystem. It allows continuous snapshotting, so that users can restore files mistakenly overwritten or destroyed even when it happens after the last backup.
This package contains utilities (mkfs, fsck, etc.) used to work with nilfs.
To fix this problem, we can install more using the command below.
sudo apt-get -y install nilfs-tools
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install nilfs-tools.
sudo apt -y install nilfs-tools
Or if you have aptitude installed you can use the following command.
sudo aptitude install nilfs-tools
Summary
In this tutorial we learn how to fix nilfs-resize command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.