取第一行第二列:(常用)
[root@localhost ~]# cat -n l.sh 1 systemctl stop firewalld.service
案例:
[root@localhost ~]# awk 'NR==1{print $2}' l.sh
stop