Shell 基础 2022-08-27 Linux visited: 目录 如何使用函数库 回到顶部 如何使用函数库12345678910$ cat .bashrc...# 每次启动一个新shell的时候,都会由shell重新载入函数库. ~/libraries/basicfuncs# none interactive shell environment init (before shell script executing)# 为非交互式shell引入函数库,避免脚本重复定义BASH_ENV=~/.none_interactive_bashrcexport BASH_ENV 123$ cat .none_interactive_bashrc. ~/libraries/basicfuncsNONE_INTERACTIVE_ARG="Aloah" Linux