一、知识点1. head二、实战题1. 输出文件的第五行;文件名 nowcoder.txt 一、知识点 1. head 二、实战题 1. 输出文件的第五行;文件名 nowcoder.txthead 命令拿到前五行,再通过通道,通过tail取出来最后一行,即第五行 head -n 5 nowcoder.txt | tail -n 1