当前位置:网站首页>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边栏推荐
- [daily problem insight] Li Kou - the 280th weekly match (I really didn't know it could be so simple to solve other people's problems)
- Spark SQL learning bullet 2
- Asp+access campus network goods trading platform
- The database and recharge are gone
- Missile interception -- UPC winter vacation training match
- Can you really learn 3DMAX modeling by self-study?
- 打破信息茧房-我主动获取信息的方法 -#3
- Bumblebee: build, deliver, and run ebpf programs smoothly like silk
- Design of kindergarten real-time monitoring and control system
- Collection of gmat750 wrong questions
猜你喜欢
Pytest (5) - assertion
Sqoop安装
Practical case of SQL optimization: speed up your database
Idea inheritance relationship
Design of kindergarten real-time monitoring and control system
Exploration of short text analysis in the field of medical and health (I)
[source code attached] Intelligent Recommendation System Based on knowledge map -sylvie rabbit
Design and implementation of campus epidemic prevention and control system based on SSM
Introduce reflow & repaint, and how to optimize it?
Variables in postman
随机推荐
Pytest (4) - test case execution sequence
Use the difference between "Chmod a + X" and "Chmod 755" [closed] - difference between using "Chmod a + X" and "Chmod 755" [closed]
Hmi-30- [motion mode] the module on the right side of the instrument starts to write
Returns the lowest common ancestor of two nodes in a binary tree
Serious bugs with lifted/nullable conversions from int, allowing conversion from decimal
A label making navigation bar
Spark SQL learning bullet 2
2022/02/13
Marubeni Baidu applet detailed configuration tutorial, approved.
Application and Optimization Practice of redis in vivo push platform
Why is this an undefined behavior- Why is this an undefined behavior?
Pytorch register_ Hook (operate on gradient grad)
Official announcement! The third cloud native programming challenge is officially launched!
【LeetCode】501. Mode in binary search tree (2 wrong questions)
Why do you understand a16z? Those who prefer Web3.0 Privacy Infrastructure: nym
openresty ngx_ Lua execution phase
【附源码】基于知识图谱的智能推荐系统-Sylvie小兔
The perfect car for successful people: BMW X7! Superior performance, excellent comfort and safety
SFTP cannot connect to the server # yyds dry goods inventory #
[機緣參悟-38]:鬼穀子-第五飛箝篇 - 警示之一:有一種殺稱為“捧殺”