摘要: 这是对已发布镜像的保护么?难道对其进行修改的路彻底断掉了?以volume形式attach也不行,dd成raw再读取也读不了,敢问路在何方呢If a volume has an AWS Marketplace product code:The volume can only be attached to the root device of a stopped instance.You must be subscribed to the AWS Marketplace code that is on the volume.The configuration (instance type, ope 阅读全文
posted @ 2013-07-05 15:39 伪程序员的自我修养 阅读(304) 评论(0) 推荐(0) 编辑
摘要: 有个小需求,就是爬取一个小网站一些网页里的某些信息,url是带序号的类似的,不需要写真正的spider,网页内容也是差不多的需要取出网页中中间的字符串,而且只要第一行,最后带序号写到文件里我并不是经常写shell的,只想快速达到目的#!/bin/bashfor ((i=2;i>ridds.txtgrep -E "(.*)" rid-$i.txt|head -1|sed 's///g'|sed 's///g'|sed "s/’/'/g"|sed "s/‘/ 阅读全文
posted @ 2013-07-05 11:35 伪程序员的自我修养 阅读(1751) 评论(0) 推荐(0) 编辑