当前位置:网站首页>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边栏推荐
- 2021 Li Hongyi machine learning (3): what if neural network training fails
- Uniapp navigateto jump failure
- SFTP cannot connect to the server # yyds dry goods inventory #
- GFS分布式文件系统
- Leetcode takes out the least number of magic beans
- Exploration of short text analysis in the field of medical and health (II)
- CAM Pytorch
- openresty ngx_ Lua variable operation
- From task Run get return value - getting return value from task Run
- Vb+access hotel service management system
猜你喜欢

看 TDengine 社区英雄线上发布会,听 TD Hero 聊开发者传奇故事

Design of kindergarten real-time monitoring and control system

Idea inheritance relationship

Voice chip wt2003h4 B008 single chip to realize the quick design of intelligent doorbell scheme

2021 Li Hongyi machine learning (1): basic concepts

Summary and practice of knowledge map construction technology

【附源码】基于知识图谱的智能推荐系统-Sylvie小兔

【LeetCode】106. Construct binary tree from middle order and post order traversal sequence (wrong question 2)

College Students' innovation project management system

Bert fine tuning skills experiment
随机推荐
openresty ngx_lua变量操作
Pytest (4) - test case execution sequence
低度酒赛道进入洗牌期,新品牌如何破局三大难题?
Azkaban概述
Scientific research: are women better than men?
Linux安装Redis
Can you really learn 3DMAX modeling by self-study?
openresty ngx_lua執行階段
[uc/os-iii] chapter 1.2.3.4 understanding RTOS
Pytorch register_ Hook (operate on gradient grad)
[understanding of opportunity -38]: Guiguzi - Chapter 5 flying clamp - warning one: there is a kind of killing called "killing"
Yuan universe also "real estate"? Multiple second-hand trading websites block metauniverse keywords
Acwing第 58 场周赛【完结】
【附源码】基于知识图谱的智能推荐系统-Sylvie小兔
[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)
Returns the lowest common ancestor of two nodes in a binary tree
STL container
Character painting, I use characters to draw a Bing Dwen Dwen
Marubeni Baidu applet detailed configuration tutorial, approved.
Vb+access hotel service management system