This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # INSTRUCTIONS TO RUN: | |
| # 1 --> copy this script to centos machine | |
| # 2 --> chmod 775 script_name.sh | |
| # 3 --> ./script_name.sh | |
| function log() { | |
| echo "$( date '+[%F_%T]' )" "${HOSTNAME}:" "${LOG_PREFIX}:" "$@" | |
| } |