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

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

你努力了什么,也就成就了什么,与其羡慕别人,不如蜕变自己。

评论

^