What’s the difference between / etc / bashrc and / home / user /. Bashrc

Time:2019-12-2

What's the difference between / etc / bashrc and / home / user /. Bashrc

WeChat public address:51 yards of rural network
Professional programming Q & a community
www.51manong.com

/Etc / bashrc is provided for all users and is a global file. / home / user /. Bashrc is only for the current login user. You can see the following code in / home / user /. Bashrc.

# Source global definitions
if [ -f /etc/bashrc ]; then
    . /etc/bashrc
fi

When users log in and load / home / user /. Bashrc, they will also look for the global / etc / bashrc to load

Recommended Today

Memcached practice foundation

I. memcached practice foundation 1. Introduction to memcached Free and open source, high performance, distributed memory object caching system Effect: Data cache Storage session SMS verification code storage installMemcached is based on libevent, so libevent needs to be installed before memcached is installed 2. Memcached common commands Set commandStore the value (data value) in the […]