cow command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
cow: command not found
or when using sudo you get the following error message
sudo: cow: command not found
Solutions to cow: command not found
How To Fix cow: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu cow is provided by fl-cow package.
fl-cow is:
Fl-cow allows you to utilise hard links to save disk space by causing hard-linked files to be copied rather than overwritten as they are changed.
This is useful for making changes to large source trees while keeping a copy of the original tree to generate patches from. Also, if you are using the Arch revision control system with working copies hard-linked to a revision library, using fl-cow can prevent revision library corruption.
Fl-cow is an LD_PRELOAD hack, not a kernel patch.
To fix this problem, we can install more using the command below.
sudo apt-get -y install fl-cow
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install fl-cow.
sudo apt -y install fl-cow
Or if you have aptitude installed you can use the following command.
sudo aptitude install fl-cow
Summary
In this tutorial we learn how to fix cow command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.