$ git clone https://github.com/aristocratos/bashtop.git
$ cd bashtop
$ sudo make install
get http:``//ftp.gnu.org/gnu/bash/bash-5.0.tar.gz
解压缩进入目录
tar zxvf bash-5.0.tar.gz && cd bash-5.0
开始编译:
./configure && make && make install
#bash --version
mv /bin/bash /bin/bash.bak
ln -s /usr/local/bin/bash /bin/bash
4.2
echo $BASH_VERSION
启动
bashtop