Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
awk [2015/08/18 13:54]
steve
awk [2016/02/17 10:26]
steve
Line 11: Line 11:
 <​code>​ <​code>​
 chkconfig --list |grep "​3:​on"​ |awk '​{print $1}' chkconfig --list |grep "​3:​on"​ |awk '​{print $1}'
 +</​code>​
 +
 +== Print the last column ==
 +
 +<​code>​
 +awk '{ print $NF }'
 </​code>​ </​code>​