2018年11月15日

linux杀掉某个进程的脚本

摘要: https://www.cnblogs.com/zeng1994/p/13a2c5a28e55dd3abc2c75a4fb80371a.html awk的说明: https://www.cnblogs.com/xudong-bupt/p/3721210.html 阅读全文

posted @ 2018-11-15 11:17 Reclouds 阅读(298) 评论(0) 推荐(0)

用sed替换含反斜(\)的字符串

摘要: 今天在linux替换配置文件时,test文件里有一个字符串 e:\ 需要换成/usr/home/ 用了sed命令:sed -i "s?e:\\?/usr/home/?g" test 但是总是报sed: -e expression #1, char 34: unterminated `s' comma 阅读全文

posted @ 2018-11-15 11:07 Reclouds 阅读(875) 评论(0) 推荐(0)

导航