Chinaunix首页 | 论坛 | 博客
  • 博客访问: 79609
  • 博文数量: 23
  • 博客积分: 347
  • 博客等级: 一等列兵
  • 技术积分: 195
  • 用 户 组: 普通用户
  • 注册时间: 2011-12-13 17:55
文章分类

全部博文(23)

文章存档

2012年(23)

分类: LINUX

2012-08-13 08:41:26


在ubuntu中经常会需要查看一个命令的源代码,比如我想知道ifconfig这条命令是如何实现的,这时我就需要下载ifconfig的源代码,这在ubuntu中是非常方便的。
     
 test@test-desktop:~$ type ifconfig
          ifconfig is /sbin/ifconfig
     test@test-desktop:~$ sudo dpkg -S /sbin/ifconfig
          net-tools: /sbin/ifconfig
     test@test-desktop:~$ sudo apt-get source net-tools

阅读(1666) | 评论(0) | 转发(0) |
0

上一篇:牛人志

下一篇:没有了

给主人留下些什么吧!~~