sqsh command not found

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

Introduction

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

sqsh: command not found

or when using sudo you get the following error message

sudo: sqsh: command not found

Solutions to sqsh: command not found

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

In Ubuntu sqsh is provided by sqsh package.

sqsh is:

sqsh is a flexible commandline utility that uses the freetds libraries to connect to Sybase or Microsoft SQL servers. It is a useful debugging tool for identifying problems with other SQL applications, and it can be used as a productivity tool in its own right: unlike most SQL CLIs, sqsh’s interactive shell lets you pipe the output of SQL queries directly to other Unix commands for further processing.

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

sudo apt-get -y install sqsh

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

You can also use apt command to install sqsh.

sudo apt -y install sqsh

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

sudo aptitude install sqsh

Summary

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