shell 加载csh 首行为何加-f

#! /bin/csh -f

-f Fast start. Reads neither the .cshrc file, nor the login file upon startup

-f并非必要,是指快速启动fast startup,即不会读.chsrc配置文件(该配置文件用于指定一些参数或者变量)

猜你喜欢

转载自www.cnblogs.com/shidihahahah/p/12355873.html