top工具的安装-(shell4)
#/bin/bashHOME="/home"HTOP_URL="http://hisham.hm/htop/releases/2.2.0/htop-2.2.0.tar.gz"if [ ! -d "$HOME" ]; then mkdir $HOMEfirpm -q ncurses-devel &>/dev/nullif [ $? -ne 0 ]; then yum -y install make