shell字符截取

shell字符截取

截取文本中以vm开头的单词

grep -o vm.* text | cut -d' '  -f1

截取活动主机 

原文地址:https://www.cnblogs.com/firewalld/p/13942618.html