I want to refer file path through variable in script but not aware of syntax.
#!/bin/bash
filepath = /tibcouat1_fs/tibco/deployment/egypt/bnk/broker/logs/;
echo "============BNKBroker=============="
grep 'EXSTAT|' $filepath/bnkbroker.log
Find above script I have created where I am getting below error.
bash-3.2$ ./BNKSrvcList.sh
./BNKSrvcList.sh: line 2: filepath: command not found
============BNKBroker===== =========
grep: can't open /bnkbroker.log
bash-3.2$