升级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
人生在世,不如意事十之八九;人生的滋味,哪怕是酸甜或苦辣,也要靠自己去品。人活一口气:气质看一个人的过去,气度看一个人的未来