Home IT Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Bash common several configuration files     - Linux - use chroot command (Linux)

- Spring REST Exception Handling (Programming)

- Use of the storage-level replication technology will quickly clone a ASM database to the target environment (Database)

- Linux Firewall IPCop Profile (Linux)

- VNC connection VMware vSphere ESXi 5.5 (Linux)

- Monitor log file (listener.log) (Database)

- 11G ASM disk group does not automatically handle MOUNT (Database)

- Github Getting Started Basic Course (Linux)

- Fragment Android developers learning to resolve (Programming)

- Bash code injection attacks through a special environment variable (Linux)

- DB2 commonly used scripting sort out (Database)

- Json Applications of FastJson (Programming)

- MongoDB common optimization settings in Linux (Database)

- MySQL Tutorial: About checkpoint mechanism (Database)

- Inxi: Get Linux system and hardware information (Linux)

- Install the latest development version of Wine on RedHat and Debian-based systems (Linux)

- How to use the TF / SD card making Exynos 4412 u-boot boot disk in Ubuntu (Linux)

- Lsblk command lists using Linux block device information (Linux)

- Spark parquet merge metadata problem (Server)

- How to manage and use Logical Volume Management LVM in Ubuntu (Linux)

 
         
  Bash common several configuration files
     
  Add Date : 2018-11-21      
         
       
         
  Login shells read the following startup file:

file

content

/ Etc / profile configuration file for all users open global
~ / .bash_profile An individual user's startup files, personal settings can be used as the global
~ / .bash_login If ~ / .bash_profile not found, bash attempts to read the script
~ / .profile If these two files ~ / .bash_profile, ~ / .bash_login can not be found, bash reads this file, which is the default file
NOTE:

export PATH = $ PATH: directory # only change the current bash environment configuration, the next time you log invalid
source .bash_profile # change global variables, source make it work
.bash_logout # exit, the script to do the operation, such as empty, etc.
 
Non-login shell to read the following documents:

file

content

/etc/bash.bashrc open to all users of the global profile
~ / .bashrc An individual user's startup files, personal settings can be used as the global
You can look .bash_profile script reads:

# .bash_profile
# Get the aliases and functions
if [-f ~ / .bashrc]; then
. ~ / .bashrc
fi

# User specific environment and startup programs
PATH = $ PATH: $ HOME / bin
export PATH
     
         
       
         
  More:      
 
- Java foundation comb: Array (Programming)
- JBoss7 configuration - Supports IPv4 and IPv6 dual-stack environment (Server)
- Compile and install LNMP under CentOS 6.5 (Server)
- RCU lock in the evolution of the Linux kernel (Linux)
- Linux to achieve a simple cp command (Linux)
- Log analysis is done with Grafana Elasticsearch (Server)
- Linux shell script under the use of randomly generated passwords (Programming)
- Linux itself disguised illusion strengthen security (Linux)
- How to contribute code to the GNU Project (Linux)
- Two classic macro definition under Linux (Linux)
- Linux system last command usage (Linux)
- Executable file format Explanation under Linux (Linux)
- CentOS 6.5 installation and deployment SVN 1.8.10 (Linux)
- MyEclipse configuration necessary (Linux)
- PLSQL Developer synchronization table tools (Database)
- GNU / Linux enable Intel Rapid Start (Linux)
- MySQL replication master and slave structure built (Database)
- Java reflection Introduction (Programming)
- Vim (Linux)
- Linux using DenyHosts prevents ssh cracks (Linux)
     
           
     
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.