How to find out where alias (in the bash sense) is defined when running Terminal in Mac OS X

后端 未结 10 1128
时光取名叫无心
时光取名叫无心 2020-12-13 03:50

How can I find out where an alias is defined on my system? I am referring to the kind of alias that is used within a Terminal session launched from Mac OS X (10.6.3).

10条回答
  •  别那么骄傲
    2020-12-13 03:56

    Also in future these are the standard bash config files

    • /etc/profile
    • ~/.bash_profile or ~/.bash_login or ~/.profile
    • ~/.bash_logout
    • ~/.bashrc

    More info: http://www.heimhardt.com/htdocs/bashrcs.html

提交回复
热议问题