Logging commands executed by remote shell scripts
        Posted  
        
            by 
                user145836
            
        on Server Fault
        
        See other posts from Server Fault
        
            or by user145836
        
        
        
        Published on 2012-11-16T15:44:31Z
        Indexed on 
            2012/11/16
            23:02 UTC
        
        
        Read the original article
        Hit count: 271
        
I've noticed that when running a script that connects to a number of our servers (to essentially run batch commands) that the commands aren't logged in the user's .sh_history or .bash_history files. Is there a place where this is logged (assuming the script itself isn't doing the logging and I'm not tee'ing the output anywhere)?
I'm talking specifically about AIX, but I would assume this question applies to all the *nix flavors. Thanks!
© Server Fault or respective owner