Linux log files

  • Thread starter Omid
  • Start date
  • #1
182
0
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

  • #2
dduardo
Staff Emeritus
1,890
3
cat ~/.bash_history |less

If your using another shell it would be different.
 
  • #3
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 on Linux log files

  • Last Post
Replies
2
Views
2K
Replies
2
Views
3K
Replies
8
Views
1K
  • Last Post
2
Replies
29
Views
3K
  • Last Post
Replies
1
Views
2K
  • Last Post
Replies
11
Views
2K
  • Last Post
2
Replies
48
Views
6K
  • Last Post
Replies
1
Views
2K
  • Last Post
Replies
10
Views
2K
Top