Actions
question_answer #4288
openanswer_ana
Status:
New
Priority:
Normal
Assignee:
-
Start date:
01/26/2024
Due date:
% Done:
0%
Estimated time:
answer:
- '选项A: sed -n "3,5p;15p" hogwarts.txt'
- '选项D: awk ''NR==3||NR==4||NR==5||NR==15{print $0}'' hogwarts.txt'
answer_analysis:
'在 Linux 服务器中显示hogwarts.txt的3-5行与15行可以使用命令 sed -n "3,5p;15p" hogwarts.txt 或者 awk ''NR==3||NR==4||NR==5||NR==15{print
$0}'' hogwarts.txt '
No data to display
Actions