bsd-csh command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
bsd-csh: command not found
or when using sudo you get the following error message
sudo: bsd-csh: command not found
Solutions to bsd-csh: command not found
How To Fix bsd-csh: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu bsd-csh is provided by csh package.
csh is:
The C shell was originally written at UCB to overcome limitations in the Bourne shell. Its flexibility and comfort (at that time) quickly made it the shell of choice until more advanced shells like ksh, bash, zsh or tcsh appeared. Most of the latter incorporate features original to csh.
This package is based on current OpenBSD sources.
To fix this problem, we can install more using the command below.
sudo apt-get -y install csh
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install csh.
sudo apt -y install csh
Or if you have aptitude installed you can use the following command.
sudo aptitude install csh
Summary
In this tutorial we learn how to fix bsd-csh command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.