SyntaxFix
Write A Post
Hire A Developer
Questions
Just include your .ini file into bash body:
File example.ini:
DBNAME=test DBUSER=scott DBPASSWORD=tiger
File example.sh
#!/bin/bash #Including .ini file . example.ini #Test echo "${DBNAME} ${DBUSER} ${DBPASSWORD}"