shell_unset

来源:互联网 发布:沙迪克火花机怎样编程 编辑:程序博客网 时间:2024/05/16 17:02

shell>CPU=(`cat /proc/stat |grep '^cpu '`)

shell>echo ${CPU[@]}

cpu xxx xxx xxx xxx xxx xxx xxx xxx xxxx

shell>unset CPU[0]

shell>echo ${CPU[@]}

xxx xxx xxx xxx xxx xxx xxx xxx xxx