LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-23-2010, 04:44 AM   #1
salimshahzad
Member
 
Registered: Dec 2009
Posts: 200

Rep: Reputation: 15
linux installation date in machine


dear sirs

hello good day, how and where to find the linux installation date in machine, is there are any logs,file, date time stamp.

let us say centos 5.x or 4.x fedora if talk about

kind regards
 
Old 10-23-2010, 04:54 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
The date of the /etc/issue file will probably indicate the installation date. It most likely hasn't been updated.
 
1 members found this post helpful.
Old 10-23-2010, 04:55 AM   #3
martinbc
Member
 
Registered: Jun 2010
Distribution: Ubuntu, played with Puppy Slitaz & OpenSUSE
Posts: 40

Rep: Reputation: 4
Hi

You could try looking at this posted yesterday http://www.linuxquestions.org/questi...-my-os-839726/

Martin
 
1 members found this post helpful.
Old 10-23-2010, 05:02 AM   #4
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
try
Code:
# rpm -qi basesystem
Kind regards
 
1 members found this post helpful.
Old 10-23-2010, 05:15 AM   #5
salimshahzad
Member
 
Registered: Dec 2009
Posts: 200

Original Poster
Rep: Reputation: 15
hello sir, thanks quick response, many options there and little confusing, i try to follow and get the resutls

see results, does not return date
=======================================================================
# lsb_release -a
LSB Version: :core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-3.1-amd64:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: RedHatEnterpriseServer
Description: Red Hat Enterprise Linux Server release 5.3 (Tikanga)
Release: 5.3
Codename: Tikanga
=======================================================================

see results below also
# uname -a
Linux tmsrvr1.tmsa.com 2.6.18-194.el5 #1 SMP Tue Mar 16 21:52:39 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux

====================================================================
then below give me return date
tune2fs -l /dev/root | grep created
Filesystem created: Sat Oct 9 14:10:16 2010
====================================================================

then below give me return date
# rpm -iq basesystem
Name : basesystem Relocations: (not relocatable)
Version : 8.0 Vendor: Red Hat, Inc.
Release : 5.1.1 Build Date: Wed 12 Jul 2006 10:08:04 AM AST
Install Date: Sat 09 Oct 2010 02:15:04 PM AST Build Host: ls20-bc2-14.build.redhat.com
Group : System Environment/Base Source RPM: basesystem-8.0-5.1.1.src.rpm
Size : 0 License: public domain
Signature : DSA/SHA1, Thu 18 Jan 2007 06:33:57 PM AST, Key ID 5326810137017186
Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
Summary : The skeleton package which defines a simple Red Hat Linux system.
Description :
Basesystem defines the components of a basic Red Hat Linux system (for
example, the package installation order to use during bootstrapping).
Basesystem should be the first package installed on a system, and it
should never be removed.
 
Old 10-23-2010, 05:21 AM   #6
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
So the system is installed at
Quote:
Sat 09 Oct 2010
Quote:
# uname -a
Linux tmsrvr1.tmsa.com 2.6.18-194.el5 #1 SMP Tue Mar 16 21:52:39 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
will give you the release date of the kernel.


kind regards
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
real last modified date... not when copied to machine mike_stlouis Linux - Newbie 3 08-28-2009 02:17 PM
how to find the time and date when linux was installed on my machine? Fond_of_Opensource Linux - Newbie 2 07-02-2008 10:07 AM
FTP installation in Linux Machine saravanan1979 Linux - Networking 10 05-09-2002 07:55 AM


All times are GMT -5. The time now is 09:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration