pdsh command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
pdsh: command not found
or when using sudo you get the following error message
sudo: pdsh: command not found
Solutions to pdsh: command not found
How To Fix pdsh: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu pdsh is provided by pdsh package.
pdsh is:
Pdsh is a high-performance, parallel remote shell utility, similar to dsh. It has built-in, thread-safe clients for rsh. Pdsh uses a “sliding window” parallel algorithm to conserve socket resources on the initiating node and to allow progress to continue while timeouts occur on some connections.
It makes all parallel connections from one client machine, and attempts to keep 32 (default, can be changed on command line) connections to remote machines at any given time. It can run single commands or as an interactive shell.
To fix this problem, we can install more using the command below.
sudo apt-get -y install pdsh
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install pdsh.
sudo apt -y install pdsh
Or if you have aptitude installed you can use the following command.
sudo aptitude install pdsh
Summary
In this tutorial we learn how to fix pdsh command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.