- Log in to post comments
# list file permissions on remote host for HOST in www{1,2}.example.com; do echo ${HOST} for FILE in logging.properties server.xml context.xml; do ssh ${HOST} ls -l /etc/tomcat8/${FILE} done echo done
# list file permissions on remote host for HOST in www{1,2}.example.com; do echo ${HOST} for FILE in logging.properties server.xml context.xml; do ssh ${HOST} ls -l /etc/tomcat8/${FILE} done echo done