What is the difference between the source and sh commands?

What is the difference between the source and sh commands?
Answer
What is the difference between sh and source ? source: source filename [arguments] Read and
execute commands from FILENAME and return. The pathnames in $PATH are used to find the directory containing FILENAME. If any ARGUMENTS are supplied, they become the positional parameters when FILENAME is executed.
 

Tìm kiếm

Back
Top