sed -i "s|\"disk_dump\": 13|\"disk_dump\": 0|g
时间: 2023-09-20 13:04:04 浏览: 73
phper-linux-gitbook::light_bulb:PHPer必知必会Linux命令
This command would replace all instances of "disk_dump": 13 with "disk_dump": 0 in a file or files. The sed command uses regular expressions to search and replace text, and the -i flag tells sed to edit the file in place. The | character is used as a delimiter instead of / to avoid conflicts with forward slashes in the text being replaced.
阅读全文