当前位置:网站首页>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边栏推荐
- Design and implementation of community hospital information system
- 【附源码】基于知识图谱的智能推荐系统-Sylvie小兔
- Application and Optimization Practice of redis in vivo push platform
- Asynchronous and promise
- College Students' innovation project management system
- Start the remedial work. Print the contents of the array using the pointer
- Azkaban实战
- Introduce reflow & repaint, and how to optimize it?
- ELFK部署
- Moco V2 literature research [self supervised learning]
猜你喜欢

Day_ 17 IO stream file class

Design and implementation of high availability website architecture

【LeetCode】106. Construct binary tree from middle order and post order traversal sequence (wrong question 2)
![Acwing game 58 [End]](/img/16/c55e0a7aedc354f1c739637ed13a6b.png)
Acwing game 58 [End]

Spoon inserts and updates the Oracle database, and some prompts are inserted with errors. Assertion botch: negative time

【LeetCode】222. The number of nodes of a complete binary tree (2 mistakes)

spoon插入更新oracle数据库,插了一部分提示报错Assertion botch: negative time

openresty ngx_lua執行階段

Application and Optimization Practice of redis in vivo push platform

Design of KTV intelligent dimming system based on MCU
随机推荐
Pytest (5) - assertion
openresty ngx_ Lua execution phase
Asp+access campus network goods trading platform
【微服务|SCG】Filters的33种用法
TCP security of network security foundation
Spoon inserts and updates the Oracle database, and some prompts are inserted with errors. Assertion botch: negative time
Learn game model 3D characters, come out to find a job?
[download white paper] does your customer relationship management (CRM) really "manage" customers?
openresty ngx_lua執行階段
[illumination du destin - 38]: Ghost Valley - chapitre 5 Flying clamp - one of the Warnings: There is a kind of killing called "hold Kill"
Richview trvunits image display units
Redis distributed lock, lock code logic
How to find hot projects in 2022? Dena community project progress follow-up, there is always a dish for you (1)
openresty ngx_ Lua variable operation
Kotlin - 协程 Coroutine
[機緣參悟-38]:鬼穀子-第五飛箝篇 - 警示之一:有一種殺稱為“捧殺”
Using druid to connect to MySQL database reports the wrong type
Voice chip wt2003h4 B008 single chip to realize the quick design of intelligent doorbell scheme
[200 opencv routines] 99 Modified alpha mean filter
GFS distributed file system