
计算机里面的Profile怎么翻译比较好? - 知乎
具体说就是User profile, 以及程序运行中的sample 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 hand is only read by bash. It is intended for commands that …
Setting PATH vs. exporting PATH in ~/.bash_profile
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 that export characteristic and be export ed to all child processes invoked by that shell for the life of the shell or until they are unset .
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 new terminal window, but the setting will take effect only for programs started via a terminal, and how to set PATH for all programs depends on the system.)
avatar 也是头像的意思吗? - 知乎
而头像则是“profile photo”或“profile picture”,如Twitter网站的“Edit Profile”页面: 而2009年的3D大片《阿凡达》让很多人熟悉了“avatar”这个单词,其实avatar在网络中也有“头像”之意,但并不是非常传统正式的用法,可以认为是词汇的词义延伸。
How to permanently set environmental variables
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 likely to conflict with updates made by the packaging system.
How do you run a command with sudo in `~/.profile`?
Apr 1, 2018 · provide my password in the command with sudo in ~/.profile, by echo <passwd> | sudo -S <mycommand>? I haven't verified if the first way works, because I am still learning how to do it. The second way seems to raise serious security concern, and …
environment variables not detected in .bashrc and .profile
Aug 24, 2017 · I tried to create an environment variable in my ~/.bashrc file as follows: export DJANGO_DEVELOPMENT=true After doing some troubleshooting it appears bash isn't picking up the new environment var...
config、option、setting这三者在程序世界里是什么区别? - 知乎
Profile这个词很不好翻,本意是指一系列对特定个体的不一定全面的描述,翻成轮廓更准确但显然不符合习惯,所以常见翻译是档案。 但是又显然,说静音档案、仅震动档案之类的也很不符合习惯,所以实际使用中Profile的翻译跟着场景变化很大。
bash - How to source my .bashrc from a shell script - Unix & Linux ...
Apr 15, 2018 · sudo -u myusername sh ~/.profile. From a shell I am able to just call source ~/.profile but that does not work in a script and this command does. It forces my current shell to read my ~/.profile. However, my ~/.profile contains the following lines: if [ -f ~/.bashrc ]; then source ~/.bashrc fi As it is supposed to source my ~/.bashrc.