ascii command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
ascii: command not found
or when using sudo you get the following error message
sudo: ascii: command not found
Solutions to ascii: command not found
How To Fix ascii: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu ascii is provided by ascii package.
ascii is:
The ascii utility provides easy conversion between various byte representations and the American Standard Code for Information Interchange (ASCII) character table. It knows about a wide variety of hex, binary, octal, Teletype mnemonic, ISO/ECMA code point, slang names, XML entity names, and other representations. Given any one on the command line, it will try to display all others. Called with no arguments it displays a handy small ASCII chart.
To fix this problem, we can install more using the command below.
sudo apt-get -y install ascii
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install ascii.
sudo apt -y install ascii
Or if you have aptitude installed you can use the following command.
sudo aptitude install ascii
Summary
In this tutorial we learn how to fix ascii command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.