Chinaunix首页 | 论坛 | 博客

  • 博客访问: 274934
  • 博文数量: 55
  • 博客积分: 1597
  • 博客等级: 上尉
  • 技术积分: 590
  • 用 户 组: 普通用户
  • 注册时间: 2009-07-30 17:40
文章分类

全部博文(55)

文章存档

2016年(2)

2014年(5)

2013年(35)

2012年(5)

2010年(4)

2009年(4)

我的朋友

分类: LINUX

2012-12-20 23:03:48

1.命令:
例如:要查看ls命令的源代码
    1)  whereis ls
          ls: /bin/ls /usr/share/man/man1/ls.1.gz
    2)   sudo dpkg -S /bin/ls
          coreutils: /bin/ls
    3)   sudo apt-get source coreutils

2.内核
   1)apt-cache search linux-source
         linux-source - Linux kernel source with Ubuntu patches
         linux-source-3.2.0 - Linux kernel source for version 3.2.0 with Ubuntu patches
   2)sudo apt-get source linux-source-3.2.0


阅读(5659) | 评论(0) | 转发(2) |
给主人留下些什么吧!~~