fs_mark command not found

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

Introduction

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

fs_mark: command not found

or when using sudo you get the following error message

sudo: fs_mark: command not found

Solutions to fs_mark: command not found

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

In Ubuntu fs_mark is provided by fsmark package.

fsmark is:

The fs_mark benchmark tests synchronous write workloads. It can vary the number of files, directory depth, etc. It has detailed timings for reads, writes, unlinks and fsyncs that make it good for simulating mail servers and other setups.

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

sudo apt-get -y install fsmark

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

You can also use apt command to install fsmark.

sudo apt -y install fsmark

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

sudo aptitude install fsmark

Summary

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