Hi All,
Seeking for your assistance on how to put in variables all the commands in /bin
config files: /home/test/config_file/config.cfg
cat /home/test/config_file/config.cfg
ECHO=/bin/echo
LS=/bin/ls
Main script
cat test.sh
source=/home/test/config_file/config.cfg
ECHO=$ECHO
LS=$LS
#i want to use echo command in config
$ECHO "Hello"
$LS /home/test/config_file/
ERROR:
i encountered command not found
although i assigned it in the config files
Please advise,
Thanks,