cut DEMO

分割后得到列:

cat /etc/passwd|head -n 5 | cut -d : -f 1,6
原文地址:https://www.cnblogs.com/xiluhua/p/5632403.html