目录
当前位置: 首页 > 文档资料 > Shell 中文文档 >

Appendix G. Important Files

优质
小牛编辑
125浏览
2023-12-01

startup files

These files contain the aliases and environmental variablesmade available to Bash running as a user shell and to allBash scripts invoked after system initialization.

/etc/profile

systemwide defaults, mostly setting the environment(all Bourne-type shells, not just Bash

logout file

$HOME/.bash_logout

user-specific instruction file, found ineach user's home directory. Upon exit from a login (Bash)shell, the commands in this file execute.

Notes

[1]

This does not apply to csh,tcsh, and other shells not related to ordescended from the classic Bourne shell(sh).