linux的命令源码,linux下的命令的源码

在使用linux的时候,经常会用到像ls,cat这样的命令,我们可以使用以下方式来获取源码包

(1)使用如下命令:rpm -qif `which cat`

(2)随即会出来这样的信息

Name        : coreutils

Version     : 8.12

Release     : 7.fc16

Architecture: i686

Install Date: Tue 24 Apr 2012 06:24:51 AM CST

Group       : System Environment/Base

Size        : 14082799

License     : GPLv3+

Signature   : RSA/SHA256, Thu 29 Mar 2012 04:43:13 AM CST, Key ID 067f00b6a82ba4b7

Source RPM  : coreutils-8.12-7.fc16.src.rpm

Build Date  : Mon 26 Mar 2012 06:35:37 PM CST

Build Host  : x86-04.phx2.fedoraproject.org

Relocations : (not relocatable)

Packager    : Fedora Project

Vendor      : Fedora Project

URL         : http://www.gnu.org/software/coreutils/

Summary     : A set of basic GNU tools commonly used in shell scripts

Description :

These are the GNU core utilities.  This package is the combination of

the old GNU fileutils, sh-utils, and textutils packages.

可以看到我用黄色所着重标记的一个URL,打开此URL,就可以更据网页上的大意来看是要下载

coreutils包,在 http://ftp.gnu.org/gnu/coreutils/下有一系列的不同版本的源码包可供下载。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值