cut DEMO

分割后得到列:

cat /etc/passwd|head -n 5 | cut -d : -f 1,6

 

posted @ 2016-07-01 11:12  xiluhua  阅读(150)  评论(0编辑  收藏  举报