How would you print just the 10th line of a file

awk -F:" " '{if(NR==10) {print}}' file.txt

原文地址:https://www.cnblogs.com/sanquanfeng/p/5935561.html