smash command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
smash: command not found
or when using sudo you get the following error message
sudo: smash: command not found
Solutions to smash: command not found
How To Fix smash: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu smash is provided by node-smash package.
node-smash is:
Concatenates one or more input files, outputting a single merged file. Any import statements in the input files are expanded in-place to the contents of the imported file. If the same file is imported multiple times, only the first instance of the file is included.
To fix this problem, we can install more using the command below.
sudo apt-get -y install node-smash
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install node-smash.
sudo apt -y install node-smash
Or if you have aptitude installed you can use the following command.
sudo aptitude install node-smash
Summary
In this tutorial we learn how to fix smash command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.