计算机网络/计算机科学与应用/系统/运维/开发

Shell脚本编程 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

天天晨练不仅为了健身,也为了体现生命的倔强

评论

^