fsniper command not found

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

Introduction

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

fsniper: command not found

or when using sudo you get the following error message

sudo: fsniper: command not found

Solutions to fsniper: command not found

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

In Ubuntu fsniper is provided by fsniper package.

fsniper is:

fsniper is a tool that monitors a given set of directories for new files and, based on the new file’s type or name, invokes a custom command on it.

Common uses include making a single drop directory for all things from a web browser or having semi-intelligent scripts which figure out what to do with those files.

This package comes with no generic rules, so you must write them yourself.

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

sudo apt-get -y install fsniper

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

You can also use apt command to install fsniper.

sudo apt -y install fsniper

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

sudo aptitude install fsniper

Summary

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