Linux command – ldconfig & ldd
測試環境為 CentOS 6 x86_64 虛擬機. Linux 上大部分的程式是採用 Dynamical Link 方式來編譯,我們可以透過 ldconfig 或是 ldd 來觀察 dynamically linked (uses shared libs) 的狀態. ldconfig – […]
測試環境為 CentOS 6 x86_64 虛擬機. Linux 上大部分的程式是採用 Dynamical Link 方式來編譯,我們可以透過 ldconfig 或是 ldd 來觀察 dynamically linked (uses shared libs) 的狀態. ldconfig – […]
xargs – build and execute command lines from standard input 從標準輸入構建和執行命令行?看不懂,先直接來看一個範例. find 參數 -type f 找出屬性為檔案 f (file) ,還可針對目錄 d (directory) […]
which , find , whereis , (s)locate 都是用來尋找檔案的,差別如下: which 會利用PATH參數來尋找所有位於PATH目錄下可執行檔案 find 會根據所指定的範圍進行搜索 whereis 不僅能尋找可執行檔案,還可以尋找manpage以及原始檔 (s)locat […]