Tag: old_website

# Linux中使用sed命令修改文件

1 min read

sed -i 's/abc/xxx/g' file abc修改前的字符串 xxx是修改后的字符串 file是要被修改的文件 例如: 我有一个文件是map_server #!/bin/bash chkconfig: 2345 10 90 description: Starts and Stops...

Read