安装linux系统需要多久,我如何发现Linux系统已安装多久了?

在基于Red Hat的发行版(例如CentOS,Scientific,Oracle等)上,您可以使用:

rpm -qi basesystem

Name : basesystem

Version : 10.0

Release : 7.el7

Architecture: noarch

Install Date: Mon 02 May 2016 19:20:58 BST

Group : System Environment/Base

Size : 0

License : Public Domain

Signature : RSA/SHA256, Tue 01 Apr 2014 14:23:16 BST, Key ID 199e2f91fd431d51

Source RPM : basesystem-10.0-7.el7.src.rpm

Build Date : Fri 27 Dec 2013 17:22:15 GMT

Build Host : ppc-015.build.eng.bos.redhat.com

Relocations : (not relocatable)

Packager : Red Hat, Inc.

Vendor : Red Hat, Inc.

Summary : The skeleton package which defines a simple Red Hat Enterprise Linux system

Description :

Basesystem defines the components of a basic Red Hat Enterprise Linux

system (for example, the package installation order to use during

bootstrapping). Basesystem should be in every installation of a system,

and it should never be removed.

要么

rpm -q basesystem --qf '%{installtime:date}\n'

Mon 02 May 2016 19:20:58 BST

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值