Is there such thing as php includes file for bash?
I want to have a bash configuration file with a variable set like:
and the other bash files would reference
and gets LQ
hope i'm explaining this right lol
The bash equivalent of php's "include" is "source".
So if your configuration file is called e.g. "myconfig", use the command "source myconfig" to include it.
|All times are GMT -5. The time now is 07:37 PM.|