ascii
Display ASCII character chart and information
TLDR
Show ASCII aliases of a character
Show ASCII aliases in short, script-friendly mode
Show ASCII aliases of multiple characters
Show ASCII table in decimal
Show ASCII table in hexadecimal
Show ASCII table in octal
Show ASCII table in binary
Show options summary and complete ASCII table
SYNOPSIS
ascii
DESCRIPTION
The ascii command is a simple utility for displaying an ASCII character chart in the terminal. It provides a quick reference for ASCII values, including decimal, hexadecimal, and octal representations. It also shows the corresponding character representation where applicable. The command is useful for programmers, system administrators, and anyone who needs to quickly look up ASCII values or characters. It can also be useful for understanding the mapping between characters and their numerical representation in computer systems, which is fundamental to many programming tasks such as character encoding and data interpretation. The output is typically formatted as a table, making it easy to read and understand.
While ascii is straightforward to use, the displayed output may vary slightly based on terminal settings and character encoding.
CAVEATS
The displayed output might vary slightly based on the user's terminal settings and character encoding.
OUTPUT FORMATTING
The output of the ascii command usually displays the decimal, hexadecimal and octal values along with the ASCII characters in a table format.
USE CASES
This tool is extremely useful for quick lookups of character mappings, especially in situations where encoding or character conversion becomes a concern.
HISTORY
The ascii command has been a part of Unix-like systems for a long time. It's a simple tool that provides quick ASCII reference. Its simplicity and ease of use contributed to its longevity.