logsave command not found

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

Introduction

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

logsave: command not found

or when using sudo you get the following error message

sudo: logsave: command not found

Solutions to logsave: command not found

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

In Ubuntu logsave is provided by logsave package.

logsave is:

The logsave program will execute cmd_prog with the specified argument(s), and save a copy of its output to logfile. If the containing directory for logfile does not exist, logsave will accumulate the output in memory until it can be written out. A copy of the output will also be written to standard output.

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

sudo apt-get -y install logsave

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

You can also use apt command to install logsave.

sudo apt -y install logsave

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

sudo aptitude install logsave

Summary

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