Ever had the putty/securecrt/terminal looking like this after cat-ing a binary or echoing encrypted content ?
Code:
[⎼⎺⎺├@├⎺⎼ ·]#
[⎼⎺⎺├@├⎺⎼ ·]#
[⎼⎺⎺├@├⎺⎼ ·]#
[⎼⎺⎺├@├⎺⎼ ·]# ␊␌⎺ '\17'
\17
[⎼⎺⎺├@├⎺⎼ ·]# ␊␌⎺ -␊ '\␊(0'
There are many solutions on the web, but not all work all the time. Here's one that worked everytime for me:
Code:
echo -e '\017'
Ever had the putty/securecrt/terminal looking like this after cat-ing a binary or echoing encrypted content ?
[code][⎼⎺⎺├@├⎺⎼ ·]#
[⎼⎺⎺├@├⎺⎼ ·]#
[⎼⎺⎺├@├⎺⎼ ·]#
[⎼⎺⎺├@├⎺⎼ ·]# ␊␌⎺ '\17'
\17
[⎼⎺⎺├@├⎺⎼ ·]# ␊␌⎺ -␊ '\␊(0'
[/code]
There are many solutions on the web, but not all work all the time. Here's one that worked everytime for me:
[code]echo -e '\017'[/code]