以下命令中可以实现将文件file中的A用you替换,并在命令行仅输出有修改的行。( )
A: sed ‘s/A/you/’ file
B: sed -n‘s/A/you/’ file
C: sed -n‘s/A/you/p’ file
D: sed -n‘{s/A/you/}’ file
A: sed ‘s/A/you/’ file
B: sed -n‘s/A/you/’ file
C: sed -n‘s/A/you/p’ file
D: sed -n‘{s/A/you/}’ file
举一反三
- 93.为文件file创建软链接的命令是 A: ln file B: ls file C: ll -n file D: ln -s file
- You need to recommend a file recovery solution that meets the company's technical requirements. What should you include in the recommendation?() A: Distributed File System (DFS) Replication B: File Server Resource Manager (FSRM) active file screens C: shadow copies D: Windows Storage Server 2008
- 标准库函数fgets(s,n,file)的功能是( )。 A: 从文件file中读取长度为n的字符串存入字符数组s中 B: 从文件file中读取长度不超过n-1个字符的字符串放到字符数组s中 C: 从文件file中读取n个字符串存入字符数组s中 D: 从文件file中读取长度为n-1个字符的字符串存入字符数组s中
- Secretary: ______ Manager: Definitely. A: Do you want me to photocopy the file for each director B: Would you like the file photocopied for each director C: Can I help you photocopy the file D: May I have the file photocopied
- Secretary: ______ Manager: Definitely. A: Do you want me to photocopy the file for each director B: Would you like the file photocopied for each director C: Can I help you ph6tocopy the file D: May I have the file photocopied