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
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
Debian notes-Linux Release Technology-Debian information. For more information, see the following. Author: Ji Qing Source: http://blog.sina.com.cn/s/blog_57358e4e01000bvt.html
The Linux operating system with better Gui has three major releases:
/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:
/etc/profile: This file sets the environment information for each user of the system, and the file is executed when the user logs on for the first time.and collect the shell settings from the configuration file of the/ETC/PROFILE.D
/etc/profile: This file sets the environment information for each user of the system, and the file is executed when the user logs on for the first time.and collect the shell settings from the configuration file of the/ETC/PROFILE.D
Debian Stable (wheezy 7.8) upgraded to the latest Stable (Jessie 8.0)The latest Debian stable 8.0 (Jessie) was released the night before (April 25).So let's upgrade. Upgrade from the old stable version of wheezy7.8 to the latest stable version
. bash_profile file
. Bash_profile is the most important file that is read every time a user logs on to the system and contains commands that are executed by bash.This file defines the basic environment for a user's login account: including path
The latest Debian stable 9.0 (stretch) was released the night before (June 17).
So let's upgrade. Upgrade from old stable version Jessie 8.8 to the latest stable version Stretch 9.0
Read the official upgrade document before
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.