LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-16-2005, 01:09 AM   #1
benjaminrtz
Member
 
Registered: Jul 2002
Location: India
Distribution: Ubuntu, Gentoo
Posts: 99

Rep: Reputation: 15
Timestamp of previous command issued


Is there a way to find out the timestamp of when a previously issued command was run?
 
Old 04-16-2005, 01:53 AM   #2
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
Not really. You can see a history of commands that were issued and when processes (that are running) were started. If you are looking for a command that started a service, you can always look at the log files for that certain service to see what happened. But if all those options did not suit your needs, then you probably need to setup process accounting. I believe that's your answer.

-twantrd
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
shell timestamp command lowspeed Linux - General 2 02-17-2005 04:19 PM
date command getting previous day swinchen Programming 6 08-23-2004 12:17 PM
File containing previously issued commands rridler Linux - Newbie 1 04-30-2004 07:38 PM
Capture command line entry with timestamp moxshax Linux - Newbie 3 03-26-2004 03:31 AM
issued when trying to write a firewall script Chypmunk Linux - Security 16 03-29-2002 09:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:07 AM.

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
Open Source Consulting | Domain Registration