I added a WordPress plugin that provides clean syntax highlighting for the code or shell commands in the posts and comments. This will ease the copy&paste between the blog and the shell. If you have any problems while copy&pasting or any comment just let me know.
The plugin that I used is WP-Syntax.
Thanks.