用Shell命令 获取文件中某一行数据.比如第4行

如题所述

第1个回答  2013-01-14
1>head -n5 file | tail -n1
2>sed -n 4p file
相似回答