Ubuntu命名: Deb
RedHat命令: Rpm
DPKG
tangym@ubuntu:/etc$ dpkg -l | grep openssh --Filter file name with :openssh
ii openssh-client 1:5.9p1-5ubuntu1 secure shell (SSH) client, for secure access to remote machines
tangym@ubuntu:/etc$
安装:
sudo dpkg -i openssh
卸载:
1) sudo dpkg -r openssh
2) dpkg --remove openssh
本文转自 yuanzhitang 51CTO博客,原文链接:http://blog.51cto.com/yuanzhitang/1783049,如需转载请自行联系原作者