scrub-files command not found

In this troubleshooting guide we learn how to fix scrub-files command not found error message

Introduction

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

scrub-files: command not found

or when using sudo you get the following error message

sudo: scrub-files: command not found

Solutions to scrub-files: command not found

How To Fix scrub-files: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu scrub-files is provided by ucommon-utils package.

ucommon-utils is:

GNU uCommon C++ is a lightweight library to facilitate using C++ design patterns even for very deeply embedded applications, such as for systems using uClibc along with POSIX threading support. For this reason, uCommon disables language features that consume memory or introduce runtime overhead. uCommon introduces some design patterns from Objective-C, such as reference counted objects, memory pools, and smart pointers. uCommon introduces some new concepts for handling of thread locking and synchronization.

This package contains the following utilities included as part of the GNU uCommon C++ project:

  • args
  • car
  • keywait
  • mdsum
  • scrub
  • sockaddr
  • zerofill

To fix this problem, we can install more using the command below.

sudo apt-get -y install ucommon-utils

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install ucommon-utils.

sudo apt -y install ucommon-utils

Or if you have aptitude installed you can use the following command.

sudo aptitude install ucommon-utils

Summary

In this tutorial we learn how to fix scrub-files command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.