Several configuration files commonly used by Ubuntu mainly include the following:
/etc/environment, /etc/profile, /etc/bash.bashrc, ~/.profile, ~/.bashrc
The difference between them:
1/etc/environment
This file is the first configuration file read by Ubuntu when logging in, setting the environment for all processes. Variable
2/etc/profile
The second file read during this file is used to configure environment variables for all users in the system
3/etc/bash .bashrc
Initialization file for all users when opening the shell (user interface)
4~/.profile
Configuring the personal working environment of the currently logged in user
>
5~/.bashrc
Initialization file for the current user each time the shell is opened
Order of execution:
/etc/environment--> /etc/profile--> ~/.profile--> /etc/bash.bashrc--> ~/.bashrc
Instructions to make environment variables take effect:
source /xxx
caused by Linux clone virtual machine The virtual machine Vmware cloned a Red Hat Enterpris
ubuntu gedit Chinese garbled looks very annoying, this article provides two solutions, terminal comm
Keepalived is a high-availability WEB service based on VRRP protocol, which can be used to avoid sin
The following folder on the desktop is shared as a shared folder to the Linux system in the virtual
Set up regular execution scripts under Linux
Linux installation php and memcache process record
Linux/centos solves Tomcat memory overflow
Linux Security Minor - Restrict remote root login
Nginx installation on Linux (CentOS)
How to restart the most secure after Linux crashes
Build an Android environment on Ubuntu and download APKs from Google Play
Introduction to vim installation and basic configuration under Ubuntu
How do you remove the GRUB boot information?
Win10 RS1 Preview Edition 11082 Known Issues Summary
Win10 preview version 10108 latest news: ui improvement is nearing the end
Win 7 files in batch renamed photos
Using Disk Management Tools Included with Windows Vista
iQiyi closes today's recommended graphic tutorial
Ubuntu when copying files prompts how to resolve Permission denied?
How to quickly input the same content repeatedly into