Linuxscript 判斷ubuntu 套件 - LinuxTristan Cohan · 2012-09-01Table of ContentsPostCommentsRelated Posts我想再shell script 中判斷某個ubuntu 套件是否存在 例如是 ssh 這套件, 請問應該要如何寫? 謝謝 -- LinuxAll CommentsKelly2012-09-02apt-cache showCarolina Franco2012-09-05這樣怎麼用在判斷?? if [`apt-cache show xxx` != ""]這樣好像也不行Hedwig2012-09-07if apt-cache show ssh > /dev/null ;then echo exist; fiMadame2012-09-11dpkg -L sshRelated Posts關於sun的java和chrome不好意思想問VI搜尋取消的新手問題有關PPPOE forward multicast的問題Asterisk1.8安裝完 帳號無法登入LUBUNTU下的Firefox視窗選單
All Comments