歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> 關於Linux >> 如何查看各種Linux命令的源碼?

如何查看各種Linux命令的源碼?

日期:2017/3/1 12:17:05   编辑:關於Linux
??

如何查看各種Linux命令的源碼?


首先找到存放源碼的鏡像:http://www.gnu.org/prep/ftp.html

我隨便點了個鏡像是這個:http://gnu.askapache.com/

比如find這個命令的源碼就在這裡:http://gnu.askapache.com/findutils/

下載下來之後要解壓下,裡面全部是用c語言寫的。

當然你也可以make直接編譯出程序來用用。

Copyright © Linux教程網 All Rights Reserved