摘要: 无论用 () 这种一行代码的语法。 hmj_arr=(hmj_status) 还是用 六行代码的语法 hmj_status=$(pgrep -l java|awk '{print $1}')i=0for hmj_pid in $hmj_statusdohmj_arr[$i]=$hmj_pidi=$i 阅读全文
posted @ 2022-02-07 20:49 mmgithub123 阅读(78) 评论(0) 推荐(0)