1、zip/unzip: command not found
yum list | grep zip/unzip
yum install zip
yum install unzip
2、rz -y/sz: command not found
yum install lrzsz -y
3、netstat: command not found
通過netstat命令可以查看端口是否正在監聽:netstat -tnulp|grep "端口號"
#Yum安裝netstat軟件,軟件包是在net-tools中。
yum install net-tools
yum install net-tools
4、定時任務crontab: command not found
yum install vixie-cron crontabs
chkconfig crond on
5、ssh-copy-id: command not found
1、本地終端執行以下命令: curl -L https://raw.githubusercontent.com/beautifulcode/ssh-copy-id-for-OSX/master/install.sh | sh 2、輸入本地安裝軟件的密碼, 看到以下輸出信息就表示安裝成功了: Installed ssh-copy-id into /usr/local/bin. 3、繼續執行之前的命令: ssh-copy-id i xxxxxxxxx
6、lsof: command not found
yum install lsof
7、-bash: telnet: command not found
1、列出telnet相關的安裝包 yum list telnet* 2、安裝telnet服務 yum install telnet-server 3、安裝telnet客戶端 yum install telnet.*
8、ntpdate: command not found
yum install ntpdate
9、– git: command not found
Centos下使用: yum install git -y // 或者 yum install -y git Ubuntu/Debian下使用 : apt-get install git -y
10、