摘要: 想删除以$ip变量开头的那一行,这命令该怎么写呢? sed -i '/^'$ip'/d' /etc/hosts 单引号内是sed的作... 阅读全文
posted @ 2019-05-23 14:54 ytsee 阅读(154) 评论(0) 推荐(0)