shell 命令source、export 与 变量导出
一、source 命令Bash shell 有许多启动文件,这些文件是可以执行 source 命令的。对一个文件执行 source 命令会使这个文件中的所有设置成为当前 shell 的一部分。也就是说,不会创建子 shell。[root@localhost ]# cat configini.sh #! /bin/bashproduct_date=2022/05/05upgrade_file_path=./upgrade/CPLD_VERSION=22FPGA_VER_CHK=0x1100003