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
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.
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
Summary: I need to write a script to see what software has been installed on my systems. I do not need the generic system files like chinese fonts that are listed with the pkginfo -i listing. New to scripting ...
Summary: Hi Everyone, Does anyone know of a command or way that I can simulate a command in UNIX without actually executing the command itself. I have a korn shell script that will call hundreds of other scri...