Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學
您现在的位置: Windows教程網 >> Windows教程 >  >> Linux 系統教學 >> Linux 教學

Linux 實用指令:查找軟體安裝目錄

編輯:Linux 教學

常用三招

#whereis php
#which php
#php -v      # 查看版本號

三者差異請自行體會:whereis 顯示二進制、原始碼、手冊頁路徑;which 僅顯示 PATH 中的可執行檔路徑;php -v 直接輸出版本資訊。

Copyright © Windows教程網 All Rights Reserved