Linux log files

  • Thread starter Omid
  • Start date
  • #1
Omid
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,901
3
cat ~/.bash_history |less

If your using another shell it would be different.
 
  • #3
Omid
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) ??
 

Suggested for: Linux log files

  • Last Post
Replies
18
Views
533
Replies
3
Views
129
Replies
26
Views
432
Replies
6
Views
442
  • Last Post
Replies
2
Views
578
  • Last Post
Replies
7
Views
680
  • Last Post
Replies
3
Views
518
  • Last Post
Replies
18
Views
1K
  • Last Post
Replies
15
Views
614
Replies
18
Views
851
Top