qsh command not found

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

Introduction

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

qsh: command not found

or when using sudo you get the following error message

sudo: qsh: command not found

Solutions to qsh: command not found

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

In Ubuntu qsh is provided by gridengine-client package.

gridengine-client is:

Grid Engine is software that facilitates “distributed resource management” (DRM). Far more than just simple load-balancing tools or batch scheduling mechanisms, DRM software typically provides the following key features across large sets of distributed resources:

  • Policy based allocation of distributed resources (CPU time, software licenses, etc.)
  • Batch queuing & scheduling
  • Support diverse server hardware, OS and architectures
  • Load balancing & remote job execution
  • Detailed job accounting statistics
  • Fine-grained user specifiable resources
  • Suspend/resume/migrate jobs
  • Tools for reporting Job/Host/Cluster status
  • Job Arrays
  • Integration & control of parallel jobs

This package contains the Grid Engine user utilities.

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

sudo apt-get -y install gridengine-client

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

You can also use apt command to install gridengine-client.

sudo apt -y install gridengine-client

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

sudo aptitude install gridengine-client

Summary

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