Re: [問題] 請問如何分別可執行程式與shell script 檔案

看板Linux作者時間16年前 (2009/09/16 09:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/2 (看更多)
用"file"指令就可以了啊 如針對Shell Script (e.g. a.sh) file a.sh 會顯示 Korn shell script text executable 針對一般的執行檔(e.g. tar) file /bin/tar /bin/tar: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.8, dynamically linked (uses shared libs), stripped 有這些資訊基本上就可以了啊 -- ※ Origin: SayYA 資訊站 <bbs.sayya.org> ◆ From: aitc.com.tw
文章代碼(AID): #1Ai40I_t (Linux)
文章代碼(AID): #1Ai40I_t (Linux)