摘要: #!/bin/sh text=`ps -ef | awk '{print$2}'` #echo $text for i in $text do echo $i echo "kevin" done [ 说明 ]: 1 $text的类型是数组; 阅读全文
posted @ 2021-02-08 10:34 kevin_coding 阅读(51) 评论(0) 推荐(0)