题意: 给定一个文本文件 file.txt,请只打印这个文件中的第十行。 code: # Read from the file file.txt and output the tenth line to stdout. #awk '{if(NR==10){print}}' file.txt sed -n '10p' file.txt