Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Linux log files

  1. Sep 13, 2005 #1
    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?
     
  2. jcsd
  3. Sep 13, 2005 #2

    dduardo

    User Avatar
    Staff Emeritus

    cat ~/.bash_history |less

    If your using another shell it would be different.
     
  4. Sep 13, 2005 #3

    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) ??
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?