如果执行这个代码\r\nenv -i X='() { (a)=>\' bash -c 'echo date' ; cat echo\r\n\r\n出现如下类似内容,就需要继续升级了\r\nbash: X: line 1: syntax error near unexpected token `='\r\nbash: X: line 1: `'\r\nbash: error importing function definition for `X'\r\nSat Sep 27 09:34:37 CST 2014\r\n\r\n\r\n\r\n\r\n更新方法:\r\ncentos(redhat、fedora)版\r\nyum ﹣y update bash\r\n\r\ndebian(ubuntu)版:\r\napt-get -y install --only-upgrade bash\r\n\r\n执行完以后的再执行第一条命令,结果会变成如下:\r\ndate\r\ncat: echo: No such file or directory\r\n