MST
星途 面试题库
面试题:Bash中sed的基本替换应用
假设有一个文本文件test.txt,内容为'Hello World',请使用sed命令将'World'替换为'Linux',并输出结果。
48.9万 热度
难度
编程语言
Bash
知识考点
面试题答案
一键面试
sed 's/World/Linux/' test.txt