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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Command History logs Solaris 9

Status
Not open for further replies.

HGC100

Technical User
Joined
Feb 21, 2006
Messages
2
Location
GB
Looking for logs in Solaris 9(running Unison) which provide historical information on commands used at root level/davox level. Also access history logs. If you have any ideas they'd be greatly appreciated.
 
Not sure about Sol 9, but if ksh/csh .sh_history should be a start for the commands (depending upon history retention). Access history - maybe 'last' or similar. Starting points hopefully.
 
commands should be in .sh_history in the users home dir, / in roots case. You can keep more lines by adding HISTSIZE= number of lines to keep. Can't remember if Solaris has one but search for sulog too.

Mike

"A foolproof method for sculpting an elephant: first, get a huge block of marble, then you chip away everything that doesn't look like an elephant."

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top