LinuxQuestions.org
Register a domain and help support LQ
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 04-06-2009, 07:51 AM   #1
rehan999
Member
 
Registered: Aug 2007
Posts: 134

Rep: Reputation: 15
machine installation time


Greetings

I have installed a linux machine 3 months back.
I want to know the exact date and time the machine was installed.
Any command???

Thanks and Regards
Rehan
 
Old 04-06-2009, 08:31 AM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
Hi.

The 'release' file's date is a good indicator.
$ ls -l /etc/*release*

Dave
 
Old 04-06-2009, 01:29 PM   #3
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,613

Rep: Reputation: 433Reputation: 433Reputation: 433Reputation: 433Reputation: 433
=========
"I have installed a linux machine 3 months back.
I want to know the exact date and time the machine was installed.
Any command???"
=========

Rehan:

If you mean the "machine" yes the command above is a good indicator.

But if you mean the "date & time" three months ago that your "operating system" was "installed"... yes what about it? This thing mostly users doesn't care about, like me.

However try this:

$ ls -l /etc

and find out the date and time rc.d/ directory was created. Usually this folder is less touched and I used it to determine the date and time.

Hope this helps.
 
  


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
How to synchronize time between two machine??? ajeetraina Linux - Desktop 1 11-27-2007 06:34 AM
how to get time from my local machine munna_dude Programming 5 04-09-2007 03:35 AM
installation by copying it from one machine to another machine betrussell23 Linux - Newbie 5 03-05-2007 10:56 AM
Machine Running Time Renegade498 Linux - General 2 02-01-2006 09:02 AM
How to have two gateways on the same linux machine at the same time deepalalla Linux - Networking 9 01-11-2005 05:51 AM


All times are GMT -5. The time now is 08:11 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