move shell codes from old blog-docs