How do you source a file in shell?

Duyên Trương

New member
How do you source a file in shell?
Answer
Source command
  1. The source command can be used to load any functions file into the current shell script or a command prompt.
  2. It read and execute commands from given FILENAME and return.
  3. The pathnames in $PATH are used to find the directory containing FILENAME.
 

Tìm kiếm

Back
Top