Learn linux commands day

Verbatim https://www.dazhuanlan.com/2019/08/25/5d62585f53c54/


Shell reads in the current environment from the specified document and execute commands, command returns an exit status.

Supplement

source command reads in the current environment, Shell and execute commands from the specified file, the command returns an exit status.

grammar

1
source [document name] [parameters]

example

Read and Execute /root/.bash_profile documents.

1
[root@localhost ~]

Guess you like

Origin www.cnblogs.com/petewell/p/11408826.html