
计算机里面的Profile怎么翻译比较好? - 知乎
本质上就是一个文本文档,里面写了很多配置信息。那么“User profile”就是“用户配置文件”,“sample profile”就是“标准配置文件”或者“默认配置文件”。“User profile”一般是用户个性化设 …
What is the difference between ~/.profile and ~/.bash_profile?
Feb 27, 2019 · The .profile was the original profile configuration for the Bourne shell (a.k.a., sh). bash, being a Bourne compatible shell will read and use it. The .bash_profile on the other …
bash - What is the difference between .profile and .bash_profile …
cat .profile; I try to follow these instructions but to no avail. There is no .profile file in my user name directory as I can see from ls -al. From what I've learned the .bash_profile and .profile file are …
bash - How to correctly add a path to PATH? - Unix & Linux Stack …
Feb 21, 2016 · The profile file is read by login shells, so it will only take effect the next time you log in. (Some systems configure terminals to read a login shell; in that case you can start a …
How to permanently set environmental variables
Feb 28, 2014 · To do if for all users/shells, depending on distro you could use /etc/environment or /etc/profile.Creating a new file in /etc/profile.d may be preferable if it exists, as it will be less …
Setting PATH vs. exporting PATH in ~/.bash_profile [duplicate]
Any of the ENV files first invoked by a shell such as .bashrc or .profile will set variable values for the life of that shell. So any variables that are set and export ed within those files will maintain …
What do the scripts in /etc/profile.d do? - Unix & Linux Stack …
@AvindraGoolcharan Different distros may use different schemes for this kind of thing. The profile.d directory only works because its contents are sourced by /etc/profile, which is …
Ash profile/configuration file - Unix & Linux Stack Exchange
Dec 26, 2014 · So if you set that somehow (Maybe in your ~/.profile, or some other 'overarching' environment control), then any future forked shells will run that script. Very handy for non-login …
sudo as another user with their environment
Jan 2, 2015 · To invoke a login shell using sudo just use -i.When command is not specified you'll get a login shell prompt, otherwise you'll get the output of your command.
config、option、setting这三者在程序世界里是什么区别? - 知乎
Profile这个词很不好翻,本意是指一系列对特定个体的不一定全面的描述,翻成轮廓更准确但显然不符合习惯,所以常见翻译是档案。 但是又显然,说静音档案、仅震动档案之类的也很不符 …