what's the difference between /etc/locale.conf and /etc/environment?What is the difference between the whatis...
What risks are there when you clear your cookies instead of logging off?
Why don’t airliners have temporary liveries?
Required to check-in in person at international layover airport
Why is the application of an oracle function not a measurement?
Where does this pattern of naming products come from?
Why heater blocks on hotends?
Russian equivalents of "no love lost"
Is it possible to (7 day) schedule sleep time of a hard drive?
Can you really not move between grapples/shoves?
Does there exist a word to express a male who behaves as a female?
How hard would it be to convert a glider into an powered electric aircraft?
Trapping Rain Water
Average spam confidence
Implement Homestuck's Catenative Doomsday Dice Cascader
Do any instruments not produce overtones?
What is the advantage of carrying a tripod and ND-filters when you could use image stacking instead?
How can you travel on a trans-Siberian train when it is fully booked?
PL/SQL function to receive a number and return its binary format
Do simulator games use a realistic trajectory to get into orbit?
Building a road to escape Earth's gravity by making a pyramid on Antartica
Do the English have an ancient (obsolete) verb for the action of the book opening?
What's the right way to purge recurrently with apt?
Can a user sell my software (MIT license) without modification?
Turing patterns
what's the difference between /etc/locale.conf and /etc/environment?
What is the difference between the whatis and apropos commands?CentOS installation: difference between live CD and live DVDWhat's the difference between TYPE and DEVICETYPE directives in ifcfg scripts?What's the difference between “errors:” “dropped:” “overruns:” and “frame:” fields in ifconfig RX packets output?What's the difference between /usr/lib/systemd/system and /etc/systemd/system?Environment USER and USERNAME in CentOS 7CentOS python3 package difference between python36 and python36uWhat's the difference between `en0` and `eth0`?What's the difference between CentOS 6 and CentOS 7What's the difference between the `/dev/mapper/VolGroup-lv_home`, `/dev/VolGroup/lv_home`, and the `/home`?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
what's the difference between /etc/locale.conf and /etc/environment and ~/.bashrc in CentOS 7?
centos locale
add a comment |
what's the difference between /etc/locale.conf and /etc/environment and ~/.bashrc in CentOS 7?
centos locale
anybashrc
file is for bash shell. The other two files are shell-independent. An app started at boot could checkenvironment
andlocale.conf
to see what environment variables are set, which locale is used by the system, in which locale to write logs, etc
– Sergiy Kolodyazhnyy
37 mins ago
@SergiyKolodyazhnyy but why two file? why not use environment only? why not just use locale.conf only? what's the exactly difference between this two file?
– Bruce Xie
29 mins ago
add a comment |
what's the difference between /etc/locale.conf and /etc/environment and ~/.bashrc in CentOS 7?
centos locale
what's the difference between /etc/locale.conf and /etc/environment and ~/.bashrc in CentOS 7?
centos locale
centos locale
asked 50 mins ago
Bruce XieBruce Xie
15126
15126
anybashrc
file is for bash shell. The other two files are shell-independent. An app started at boot could checkenvironment
andlocale.conf
to see what environment variables are set, which locale is used by the system, in which locale to write logs, etc
– Sergiy Kolodyazhnyy
37 mins ago
@SergiyKolodyazhnyy but why two file? why not use environment only? why not just use locale.conf only? what's the exactly difference between this two file?
– Bruce Xie
29 mins ago
add a comment |
anybashrc
file is for bash shell. The other two files are shell-independent. An app started at boot could checkenvironment
andlocale.conf
to see what environment variables are set, which locale is used by the system, in which locale to write logs, etc
– Sergiy Kolodyazhnyy
37 mins ago
@SergiyKolodyazhnyy but why two file? why not use environment only? why not just use locale.conf only? what's the exactly difference between this two file?
– Bruce Xie
29 mins ago
any
bashrc
file is for bash shell. The other two files are shell-independent. An app started at boot could check environment
and locale.conf
to see what environment variables are set, which locale is used by the system, in which locale to write logs, etc– Sergiy Kolodyazhnyy
37 mins ago
any
bashrc
file is for bash shell. The other two files are shell-independent. An app started at boot could check environment
and locale.conf
to see what environment variables are set, which locale is used by the system, in which locale to write logs, etc– Sergiy Kolodyazhnyy
37 mins ago
@SergiyKolodyazhnyy but why two file? why not use environment only? why not just use locale.conf only? what's the exactly difference between this two file?
– Bruce Xie
29 mins ago
@SergiyKolodyazhnyy but why two file? why not use environment only? why not just use locale.conf only? what's the exactly difference between this two file?
– Bruce Xie
29 mins ago
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f522526%2fwhats-the-difference-between-etc-locale-conf-and-etc-environment%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f522526%2fwhats-the-difference-between-etc-locale-conf-and-etc-environment%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
any
bashrc
file is for bash shell. The other two files are shell-independent. An app started at boot could checkenvironment
andlocale.conf
to see what environment variables are set, which locale is used by the system, in which locale to write logs, etc– Sergiy Kolodyazhnyy
37 mins ago
@SergiyKolodyazhnyy but why two file? why not use environment only? why not just use locale.conf only? what's the exactly difference between this two file?
– Bruce Xie
29 mins ago