Quantcast
Channel: 许鼎的博客-51CTO技术博客
Viewing all articles
Browse latest Browse all 37

awk使用实例详解

$
0
0
一、print相关实例    [root@localhost ~]# tail -4 /etc/fstab | awk  '{print $2,$4}'    [root@localhost ~]# tail -4 /etc/fstab | awk  '{print "hello:"$1}'&nbsp..【继续阅读全文

Viewing all articles
Browse latest Browse all 37

Trending Articles