1. Technology
Linux / Unix Command: ascii
Command Library

NAME

ascii - the ASCII character set encoded in octal, decimal, and hexadecimal  

DESCRIPTION

ASCII is the American Standard Code for Information Interchange. It is a 7-bit code. Many 8-bit codes (such as ISO 8859-1, the Linux default character set) contain ASCII as their lower half. The international counterpart of ASCII is known as ISO 646.

The following table contains the 128 ASCII characters.

C program '\X' escapes are noted.

OctDecHexCharOctDecHexChar

000000NUL '\0'1006440@
001101SOH1016541A
002202STX1026642B
003303ETX1036743C
004404EOT1046844D
005505ENQ1056945E
006606ACK1067046F
007707BEL '\a'1077147G
010808BS '\b'1107248H
011909HT '\t'1117349I
012100ALF '\n'112744AJ
013110BVT '\v'113754BK
014120CFF '\f'114764CL
015130DCR '\r'115774DM
016140ESO116784EN
017150FSI117794FO
0201610DLE1208050P
0211711DC11218151Q
0221812DC21228252R
0231913DC31238353S
0242014DC41248454T
0252115NAK1258555U
0262216SYN1268656V
0272317ETB1278757W
0302418CAN1308858X
0312519EM1318959Y
032261ASUB132905AZ
033271BESC133915B[
034281CFS134925C\ '\\'
035291DGS135935D]
036301ERS136945E^
037311FUS137955F_
0403220SPACE1409660`
0413321!1419761a
0423422"1429862b
0433523#1439963c
0443624$14410064d
0453725%14510165e
0463826&14610266f
0473927'14710367g
0504028(15010468h
0514129)15110569i
052422A*1521066Aj
053432B+1531076Bk
054442C,1541086Cl
055452D-1551096Dm
056462E.1561106En
057472F/1571116Fo
0604830016011270p
0614931116111371q
0625032216211472r
0635133316311573s
0645234416411674t
0655335516511775u
0665436616611876v
0675537716711977w
0705638817012078x
0715739917112179y
072583A:1721227Az
073593B;1731237B{
074603C<1741247C|
075613D= 1751257D}
076623E>1761267E~
077633F?1771277FDEL
 

SEE ALSO

iso_8859_1(7), iso_8859_15(7), iso_8859_7(7)


Important: Use the man command (% man) to see how a command is used on your particular computer.

>> Linux/Unix Command Library

>> Shell Command Library

You can opt-out at any time. Please refer to our privacy policy for contact information.

Discuss in my forum

©2014 About.com. All rights reserved.