To find the dot command . , the file must be readable (optionally executable) and on your PATH (and for safe use it must contain a shell script).
If the file is in your current directory and . (directory, not command) is not on your PATH, you can use:
. ./import.properties
Otherwise, you need to specify the absolute file name or relative file name or move the file to a convenient directory on your PATH.
The alternative notation source import.properties fails because you are not in the C shell, and because you are not using Bash. The source command in the C shell is analogous to the dot command in the Bourne shell. Bash allows you to use it as a synonym for the dot command (or the dot command as a synonym for the source). Since source not found, we can safely assume that your shell does not support it as inline.
source share