perl -e "print chr($_) for 0..127" # cmd.exe  123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ perl -e 'print chr($_) for 0..127' # linux 123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ # update: I forgot the tilde in the linux output thanks choroba who spotted it #### perl -e "print chr($_) for 128..255" # cmd.exe perl -e 'print chr($_) for 128..255' # linux