升级Bash的方法
首先检测如下:
[root@Linux myshell]# env x='() { :; }; echo be careful' bash -c "echo this is a test" this is a test
如果出现:
be careful this is a test
表示可以升级
升级方式如下:
yum -y update bash rpm -qa bash
计算机网络/计算机科学与应用/系统/运维/开发
升级Bash的方法
首先检测如下:
[root@Linux myshell]# env x='() { :; }; echo be careful' bash -c "echo this is a test" this is a test
如果出现:
be careful this is a test
表示可以升级
升级方式如下:
yum -y update bash rpm -qa bash
再长的路,一步步也能走完,再短的路,不迈开双脚也无法到达