lscp command not found

In this troubleshooting guide we learn how to fix lscp command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

lscp: command not found

or when using sudo you get the following error message

sudo: lscp: command not found

Solutions to lscp: command not found

How To Fix lscp: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu lscp 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 lscp command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.