当前位置:网站首页>How to make OS X read bash_ Profile instead of Profile file - how to make OS X to read bash_ profile not . profile file
How to make OS X read bash_ Profile instead of Profile file - how to make OS X to read bash_ profile not . profile file
2022-07-05 02:43:00 【French red wine sweet】
problem :
I have read so many suggestions about, not putting your customization aka commands in ".profile" file. I've read a lot about not putting custom alias commands in “.profile” Recommendations in the document .Rather, create a .bash_profile for yourself and add your alias and etc. contrary , Create one for yourself .bash_profile And add your alias, etc .
But,when I open the new terminal, if there is only .bash_profile, OS X is not exporting/sourcing the commands mentioned in it. however , When I open a new terminal , If only .bash_profile,OS X Will not export / Purchase the order mentioned therein .I have to manually source the .bash_profile. I have to get it manually .bash_profile.
If I create .profile file, on opening a new terminal, all my commands in .profile are executed and will be available readily. If I create .profile file , When opening a new terminal , I am here .profile All commands in will be executed and can be used at any time .
Could you please help me in understanding, how does it works? Can you help me understand , How it works ?Also, when to use .bashrc/.profile/.bash_profile files. Besides , When to use .bashrc/.profile/.bash_profile file .
Thanks! thank you !
Solution :
Reference resources : https://stackoom.com/en/question/1Glj9边栏推荐
- [understanding of opportunity -38]: Guiguzi - Chapter 5 flying clamp - warning one: there is a kind of killing called "killing"
- Talk about the things that must be paid attention to when interviewing programmers
- Why is this an undefined behavior- Why is this an undefined behavior?
- 数据库和充值都没有了
- Marubeni Baidu applet detailed configuration tutorial, approved.
- Design and implementation of campus epidemic prevention and control system based on SSM
- A label making navigation bar
- ASP. Net core 6 framework unveiling example demonstration [01]: initial programming experience
- Exploration of short text analysis in the field of medical and health (I)
- Asp+access campus network goods trading platform
猜你喜欢
Android advanced interview question record in 2022
【LeetCode】222. The number of nodes of a complete binary tree (2 mistakes)
ELFK部署
Acwing game 58 [End]
[download white paper] does your customer relationship management (CRM) really "manage" customers?
Prometheus monitors the correct posture of redis cluster
Character painting, I use characters to draw a Bing Dwen Dwen
Azkaban实战
Practical case of SQL optimization: speed up your database
Open source SPL optimized report application coping endlessly
随机推荐
Introduce reflow & repaint, and how to optimize it?
Hmi-31- [motion mode] solve the problem of picture display of music module
打破信息茧房-我主动获取信息的方法 -#3
使用druid连接MySQL数据库报类型错误
From task Run get return value - getting return value from task Run
"C zero foundation introduction hundred knowledge and hundred cases" (72) multi wave entrustment -- Mom shouted for dinner
Hmi-32- [motion mode] add light panel and basic information column
【LeetCode】404. Sum of left leaves (2 brushes of wrong questions)
Exploration of short text analysis in the field of medical and health (I)
LeetCode --- 1071. Great common divisor of strings problem solving Report
When to catch an exception and when to throw an exception- When to catch the Exception vs When to throw the Exceptions?
Why do you understand a16z? Those who prefer Web3.0 Privacy Infrastructure: nym
Open source SPL optimized report application coping endlessly
Erreur de type de datagramme MySQL en utilisant Druid
Pytest (4) - test case execution sequence
Elk log analysis system
[technology development-26]: data security of new information and communication networks
【微服务|SCG】Filters的33种用法
openresty ngx_lua执行阶段
Asynchronous and promise