RedHat linux中sbin下命令的源代码在什么地方?
RedHat linux中如下命令的源代码在什么地方阿?(ifconfig、cardmgr、iwconfig),各位大虾帮帮忙阿!谢谢拉! these are not kernel source. u need to check which package they come from and get that package source.like ifconfig, come from net-tools 1.60 - 12, so u should check net-tools-1.60-12.src.rpm net-tools-1.60-12.src.rpm 安装后在什么地方呢? 怎样去除net-tools-1.60-12.src.rpm中的rpm封装而获得源代码呢? rpm -Uvh net-tools-1.60-12.src.rpm
然后你可以在/usr/src/redhat/SOURCES/目录下找到net-tools-1.60-12.tar.bz2
bzip2 -dc xxx.bz2 | tar xvf -即可获得source
页:
[1]