当前位置:网站首页>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边栏推荐
- [source code attached] Intelligent Recommendation System Based on knowledge map -sylvie rabbit
- Good documentation
- Icu4c 70 source code download and compilation (win10, vs2022)
- Can you really learn 3DMAX modeling by self-study?
- openresty ngx_lua变量操作
- openresty ngx_lua執行階段
- Advanced learning of MySQL -- Application -- Introduction
- Serious bugs with lifted/nullable conversions from int, allowing conversion from decimal
- Cut! 39 year old Ali P9, saved 150million
- Official announcement! The third cloud native programming challenge is officially launched!
猜你喜欢
Design of KTV intelligent dimming system based on MCU
Hmi-30- [motion mode] the module on the right side of the instrument starts to write
Chinese natural language processing, medical, legal and other public data sets, sorting and sharing
8. Commodity management - commodity classification
TCP security of network security foundation
[source code attached] Intelligent Recommendation System Based on knowledge map -sylvie rabbit
Avoid material "minefields"! Play with super high conversion rate
Elk log analysis system
Zabbix
[200 opencv routines] 99 Modified alpha mean filter
随机推荐
Kotlin - coroutine
Security level
数据库和充值都没有了
CAM Pytorch
Master Fur
[Yu Yue education] National Open University spring 2019 0505-22t basic nursing reference questions
ASP. Net core 6 framework unveiling example demonstration [01]: initial programming experience
Write a thread pool by hand, and take you to learn the implementation principle of ThreadPoolExecutor thread pool
GFS分布式文件系统
ELFK部署
Talk about the things that must be paid attention to when interviewing programmers
Privatization lightweight continuous integration deployment scheme -- 01 environment configuration (Part 1)
Elk log analysis system
A tab Sina navigation bar
When the low alcohol race track enters the reshuffle period, how can the new brand break the three major problems?
Azkaban实战
Chinese natural language processing, medical, legal and other public data sets, sorting and sharing
Write a thread pool by hand, and take you to learn the implementation principle of ThreadPoolExecutor thread pool
[技术发展-26]:新型信息与通信网络的数据安全
[source code attached] Intelligent Recommendation System Based on knowledge map -sylvie rabbit