第十行
https://leetcode-cn.com/problems/tenth-line/comments/
最简洁的做法:
awk 'NR==10' file.txt # NR 代表是行数 或者: sed -n 10p file.txt