PDA

View Full Version : Linux log files


Omid
Sep13-05, 01:42 AM
Hi,
My friend has installed a Fedoracore4 on my machine. I want to see what he has done with it to understand how. Is there any way see all the shell commands he has typed with all the answers the machine has given him?

dduardo
Sep13-05, 06:42 AM
cat ~/.bash_history |less

If your using another shell it would be different.

Omid
Sep13-05, 07:15 AM
cat ~/.bash_history |less

If your using another shell it would be different.


It works. Thanks alot.
2 more questions:
1. what if I connect with SSH to another machine.
2. the history only gives the commands my friend has typed, just to make sure, is there any way to see the system responses to them? I mean, does linux save all shells (completely, everything shown on screen) ??