Automated shell scripting tool especially for remote server operation