Useful Commands/Package Compilation: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
{| class="wikitable" | {| class="wikitable" | ||
! | ! 🎯 Purpose || ⌨️ Command | ||
|- | |- | ||
| 顯示已安裝 nginx 的編譯參數 | | 顯示已安裝 nginx 的編譯參數 | ||
Latest revision as of 01:58, 17 September 2026
| 🎯 Purpose | ⌨️ Command |
|---|---|
| 顯示已安裝 nginx 的編譯參數 | nginx -V 2>&1 | tail -n 1 | tr " " "\n"
|
| 顯示已安裝 php 的編譯參數 (5.4) | php -i | head -n 6 | tail -n 1 | tr " " "\n"
|