Linux command
ascii 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Example
ascii a
Script-friendly
ascii -t a
Example
ascii -s tldr
Example
ascii -d
Example
ascii -x
Example
ascii -b
说明
ascii displays ASCII character information including aliases, numeric codes in various bases, and provides quick ASCII table lookups for character encoding reference.
参数
- -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
FAQ
What is the ascii command used for?
ascii displays ASCII character information including aliases, numeric codes in various bases, and provides quick ASCII table lookups for character encoding reference.
How do I run a basic ascii example?
Run `ascii a` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -t do in ascii?
Terse mode for script-friendly output