|
Post Shell programming: Question about source a file and read data from the file
This is shell programming assignment.
It needs to create a file called .std_dbrc contains
STD_DBROOT=${HOME}/class/2031/Assgn3/STD_DB
(which includes all my simple database files)
and I am gonna use this .std_dbrc in my script file (read the data from the database files)
like this: . ${HOME}/.std_dbrc (means source a file or folder)
to import all database to my script and use them.
My question is what do I need to do after use . ${HOME}/.std_dbrc in my script? I am not sure how to use it.
Please help.
|