I want to make a bash file that reads a parameter from a config file. In Debian based linux it works fine by:
my.config:
MYVARIABLE=12345
my.sh:
#!/bin/bash
source my.config
echo $MYVARIABLE
But I am not able to achieve this in FreeBSD. Do you have any idea?
source: not found
I tried also a full path to the config file, but no change – Samto Feb 17 '21 at 08:50