Computing.Net > Forums > Unix > Any way to know wt command has been

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Any way to know wt command has been

Reply to Message Icon

Name: manoja422002
Date: March 26, 2008 at 00:06:32 Pacific
OS: Unix
CPU/Ram: 512
Comment:

Is there any way to know, what I have executed on UNIX Command prompt from last 2-3 days ?

One more point, some systems are interconnected, is there any way to know, who others have executed what command from last 2-3 days ?

I am in big trouble guys. Please help me out ASAP. I am working in service-based company. Something has happened in last two days and everybody is blaming me for the work that I am damn sure didn’t do it. My PM is not able to say anything… I have to prove myself.



Sponsored Link
Ads by Google

Response Number 1
Name: wollie
Date: March 26, 2008 at 01:47:26 Pacific
Reply:

hi,

there is a file called wtmp somewhere in /var or its subdirectories (depending on your Unix/Linux flavour). It's binary and contains the information who logged on when and from where. On Linux systems use "last" to decipher it. The tool "command history" might be another option. For Unix systems - it depends which Unix you use, check the man pages for wtmp, utmp, acct, accton etc.

vheers

Wollie


0

Response Number 2
Name: ghostdog
Date: March 26, 2008 at 03:49:06 Pacific
Reply:

you can use the last command


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: Any way to know wt command has been

Need to know important commands www.computing.net/answers/unix/need-to-know-important-commands/8133.html

script to see what software has bee www.computing.net/answers/unix/script-to-see-what-software-has-bee/7980.html

way to simulate UNIX commands www.computing.net/answers/unix/way-to-simulate-unix-commands/5593.html