ls显示前几行或后几行数据

显示前3行数据

ls -l|head -n 3

显示后3行数据

ls -l|tail -n 3

posted @ 2019-02-22 00:39  FelixApff  阅读(4135)  评论(0编辑  收藏  举报