s-nail command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
s-nail: command not found
or when using sudo you get the following error message
sudo: s-nail: command not found
Solutions to s-nail: command not found
How To Fix s-nail: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu s-nail is provided by s-nail package.
s-nail is:
S-nail is a mail processing system with a command syntax reminiscent of ed(1) with lines replaced by messages. It is intended to provide the functionality of the POSIX mailx(1) command and offers (mostly optional) extensions for line editing, IDNA, MIME, S/MIME, SMTP and POP3 (and IMAP). It is usable as a mail batch language. S-nail is a derivative of Heirloom mailx, formerly known as nail, which itself is based upon Berkeley Mail that has a history back to the 70s.
To fix this problem, we can install more using the command below.
sudo apt-get -y install s-nail
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install s-nail.
sudo apt -y install s-nail
Or if you have aptitude installed you can use the following command.
sudo aptitude install s-nail
Summary
In this tutorial we learn how to fix s-nail command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.