运维网's Archiver
论坛
›
Shell/Powershell
› shell 批量替换文本中的内容
zjxhx
发表于 2018-8-29 08:44:53
shell 批量替换文本中的内容
批量替换脚本文件中的目录/proc,为/etc/init.d
# more test.sh
#!/bin/bash
DIR=/proc
aa=`ls $DIR`
echo $aa
验证是否全部修改完成
页:
[1]
查看完整版本:
shell 批量替换文本中的内容