LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-07-2016, 09:26 AM   #1
sssrini
LQ Newbie
 
Registered: Jan 2016
Posts: 1

Rep: Reputation: Disabled
Help me


I want to know command to get the file names which were deleted in last 1 hour.
Can anyone provide me the command
 
Old 01-07-2016, 09:37 AM   #2
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Welcome to LQ!
"Help me" is a terrible subject line.
Code:
history
if you're asking about command from terminal or console.
https://www.linuxquestions.org/quest...#faq_lqwelcome
 
Old 03-04-2016, 03:15 PM   #3
Openforce
LQ Newbie
 
Registered: Mar 2016
Posts: 5

Rep: Reputation: Disabled
The "history" command itself will not give you time/date stamps.

To get time and date when running the "history" command, do the following:

Run the following commands: (Do not include '#')

# export HISTTIMEFORMAT='%F %T %t'

# history


Hope this helps!
 
1 members found this post helpful.
  


Reply



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



LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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