百度

CentOS 7.6 sed 替换字符串

sed '行号c 替换后的字符' 文件名

sed '行号s /要替换的字符/替换后的字符/' 文件名

posted @ 2022-05-23 15:15  麦克斯-侯  阅读(241)  评论(0)    收藏  举报
百度