Linux log files

  • Thread starter Omid
  • Start date
182
0

Main Question or Discussion Point

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?
 

Answers and Replies

dduardo
Staff Emeritus
1,894
3
cat ~/.bash_history |less

If your using another shell it would be different.
 
182
0
dduardo said:
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) ??
 

Related Threads for: Linux log files

  • Last Post
Replies
2
Views
2K
Replies
2
Views
3K
Replies
8
Views
893
  • Last Post
Replies
1
Views
2K
  • Last Post
Replies
1
Views
1K
  • Last Post
Replies
10
Views
2K
  • Last Post
Replies
11
Views
2K
Top