/etc/profile,/ETC/BASHRC, ~/.bash_profile, ~/.BASHRC are easily confused, what is the difference between them? What is their role in the end?/etc/profile: Used to set system environment parameters, such as $path. The environment variables are in effect for all users in the system./ETC/BASHRC: This file sets the System
Tags: input profile initial nbsp Private min inpu file global
Turn from 9206151
File Description:
/ect/profile
This file sets the environment information for each user of the system, and the file is executed the first time the user logs on. and collects the shell settings from the
650) this.width=650; "src=" Http://blog.chinaunix.net/attachment/201406/16/14735472_14028883441bDJ.png "width=" 360 "Height=" "border=" 0 "hspace=" 0 "vspace=" 0 "title=" "style=" width:360px;height:450px; "alt=" 14735472_ 14028883441bdj.png "/>This must understand the difference between the login shell and the non-login shell, the former is completely switch the user, the latter is incomplete, even if the switch over, you pwd when the home directory or before the home directory, sothe logon ord
/etc/profile,/ETC/BASHRC, ~/.bash_profile, ~/.BASHRC are easily confused, what is the difference between them? What is their role in the end? /etc/profile: Used to set the system environment parameters, such as $path. This environment variable is in effect for all users in the system. /ETC/BASHRC: This file sets the Sy
/etc/profile,/ETC/BASHRC, ~/.bash_profile, ~/.BASHRC are easily confused, what is the difference between them? What is their role in the end?/etc/profile: Used to set system environment parameters, such as $path. The environment variables are in effect for all users in the system./ETC/BASHRC: This file sets the System
/etc/profile,/ETC/BASHRC, ~/.bash_profile, ~/.BASHRC are easily confused, what is the difference between them? What is their role in the end? /etc/profile: Used to set the system environment parameters, such as $path. This environment variable is in effect for all users in the system. /ETC/BASHRC: This file sets the Sy
Transferred from: http://blog.csdn.net/qiao1245/article/details/44650929--------------------------------------------------------------------------------------------------------------- ---------------------------------==========================================================================================Recently configured the Java and Scala environment variables, found that their own Linux under the/etc/profile,/ETC/BASHRC, ~/.
From: https://wido.me/sunteya/understand-bashrc-and-profile/
In general Linux or Unix systems, you can edit bashrc and profile to set the user's work environment. Many articles also use profile and bashrc, but what is the role of each file and how to use it?
First, let's look at these files in the system. Generally, th
Guide
In the General Linux or Unix system, can be edited BASHRC and profile to set up the user's working environment, many articles for profiles and BASHRC are also used, but what is the role of each file and how to use it?
First we look at these files in the system, the general system may have/etc/ Profile / etc /
users
The code is as follows:
/etc/bash.bashrc
# system-wide. bashrc file for interactive bash (1) shells.
/etc/profile
#/etc/profile:system-wide profile file for the Bourne shell (SH (1)
The code is as follows:
/etc/bash.bashrc
# system-wide. bashrc
Label: Use the strong file SP on Log Code Linux BS
/Etc/profile: This file sets the environment information for each user in the system. When the user logs on for the first time, this file is executed. and from/etc/profile. the configuration file in the d directory Collects shell settings./Etc/
When we perform some bash-related operations, such as setting aliases and logging on to startup items, we will deal with the following files more or less. When we use them, we will check them and forget them. A good memory is not as bad as a pen. The old master will help you understand what these files are./Etc/profile/Etc/bashrc~ /. Bash_profile~ /. Bashrc• File
Conversion from http://blog.csdn.net/dingxy/archive/2009/03/20/4008724.aspx and http://blog.csdn.net/dingxy/archive/2009/03/23/4016383.aspx
/Etc/profile: This file sets the environment information for each user in the system. When the user logs on for the first time, this file is executed. and from/etc/profile. the configuration file in the d directory Collects s
/Etc/profile: This file sets the environment information for each user in the system. When the user logs on for the first time, this file is executed.And collect shell settings from the configuration file in the/etc/profile. d directory./Etc/bashrc: execute this file for eve
Differences between bashrc and ProfileTo understand the differences between bashrc and profile, first understand what is interactive shell and non-interactive shell, What Is Login Shell and non-login shell.In interactive mode, shell waits for your input and runs the command you submit. This mode is called interactive because shell interacts with users. This mode is also very familiar to most users: logon, c
The difference between BASHRC and profileTo understand the difference between BASHRC and profile, first figure out what the interactive shell and non-interactive shell are, and what the login shell and non-login shell are.The interactive mode is where the shell waits for your input and executes the commands you submit. This pattern is called interactive because the shell interacts with the user. This mode i
Mac. bashrc file ConfigurationBefore some of the bash operating habits on the server wanted to keep on the Mac, like the command to log on to the server on a springboard, I saved the command on the server so that I could log in to the server after a short command type.For example, in the. bashrc file to add the follow
/Etc/profile: This file sets the environment information for each user in the system. When the user logs on for the first time, this file is executed. and from/etc/profile. the configuration file in the d directory Collects shell settings./Etc/bashrc: execute this file for e
Redhat Linux/etc/profile and/etc/bashrc, redhatbashrc
I recently learned about RHCE. Here in umask, the two files/etc/profile and/etc/bashrc are to be modified, but they do not indicate the differences. So after checking on the internet, I realized how to use them. /Etc/profile corresponds to logon, and/etc/bashrc corresponds to opening shell. But what is the dif
/etc/profile: This file sets the environment information for each user of the system, and the file is executed the first time the user logs on. and collects the shell settings from the configuration file of the/ETC/PROFILE.D directory.The English description is:#/etc/profile# System wide environment and startup programs, for login setup# Functions and aliases Go
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.