Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CMS - UNIX History Command 3

Status
Not open for further replies.

telcomwork

Technical User
Joined
Mar 2, 2002
Messages
1,625
Location
US
Is there a way to see a longer history than a few lines with the "history" command? I tried using set history 50 but not seeing 50 lines.

What I'm tryign to do is see a change made from the root login for yesterday around 10:33PM. Is there another log I could be looking at?
 
Have you looked at the CMS admin log report?
 
Would root show up in the admin log?
 
You are right - it doesn't. I should have checked first... sorry... let me know if anyone else provides you with an answer.
 
You can set history to 200 but it's not going to give you the past 200. It only means that in the future the log will hold up to 200 records.

"set history = 200" is the command I used. However, nothing will show you commands that were overwritten in the log prior to that.
 
If you login as 'root' and do 'vi /.sh_history' you will see all of the commands that have been executed in sequence but there is no date/time stamp.

Kevin
 
Thank you all. I also used the "last" command to see the wtmp login/logout, IP Address, time, ...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top