ascii
TLDR
Show aliases for character
$ ascii a
Script-friendly output$ ascii -t a
Show for multiple characters$ ascii -s tldr
Table in decimal$ ascii -d
Table in hexadecimal$ ascii -x
Table in binary$ ascii -b
SYNOPSIS
ascii [OPTIONS] [characters]
DESCRIPTION
ascii displays ASCII character information including aliases, numeric codes in various bases, and provides quick ASCII table lookups for character encoding reference.
PARAMETERS
-t
Terse mode for script-friendly output-s
Process multiple characters in string-d
Display ASCII table in decimal-x
Display ASCII table in hexadecimal-o
Display ASCII table in octal-b
Display ASCII table in binary
CAVEATS
Without arguments, shows options summary and complete ASCII table. Character aliases include common names like NUL, TAB, LF, CR, ESC, DEL for control characters.
HISTORY
ascii was written by Eric S. Raymond as a handy ASCII reference utility.


