Home IT Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Profile Linux users login shell and login to read     - Boost notes --Thread - problems encountered in the initial use on Ubuntu (Programming)

- To configure Samba to share files with Windows under CentOS (Linux)

- Linux automatically install service components and optimize the kernel parameters (Linux)

- Simple Linux file system - df, du, ln (Linux)

- The REVERSE function of DB2 (Database)

- Bug tracking library after FastJson omitted the decimal point 0 (Programming)

- Linux under DB2SQL1024N A database connection does not exist. SQLS (Database)

- Ubuntu installed Komodo editor by PPA (Linux)

- Oracle SQL statement to retrieve data paging table (Database)

- JavaScript basic tools list (Programming)

- Linux Getting Started tutorial: Experience Xen Virtual Machine chapter (Linux)

- How Bluetooth turned off by default in Ubuntu 14.04 (Linux)

- Install Ubuntu text editor KKEdit 0.2.10 (Linux)

- Distributed Firewall Design on Linux platform (Linux)

- 7 JavaScript interview questions (Programming)

- pscp use Detailed Windows and Linux each file transfer tool (Linux)

- Git Rebase Tutorial: Using Git Rebase turn back the clock (Linux)

- Linux, MySQL root privilege escalation another method (Linux)

- CentOS 6.6 installation certification system based on the ftp service (Server)

- About phpwind 5.01-5.3 0day analysis of the article (Linux)

 
         
  Profile Linux users login shell and login to read
     
  Add Date : 2017-08-31      
         
       
         
  Stand in the perspective of the users who log on, SHELL type:
Login type shell:
           Log in via a terminal
           su - USERNAME
           su -l USERNAME
Nonlogin type shell:
           su USERNAME (use su to switch user, without any parameters)
           Open a command window in GUI
           shell script is executed automatically
bash configuration file:
Global Configuration
       /etc/profile,/etc/profile.d/*.sh,/etc/bashrc
Personal configuration
     ~ / .bash_profile, ~ / .bashrc
profile class files:
           Setting Environment Variables
           Run a command or script
bashrc class files:
           Setting local variables
           Defined command aliases
How to read the formula login shell configuration file:
/ Etc / profile -> / etc / profile.d / * sh -.> ~ / .bash_profile -> ~ / .bashrc -> / Etc / bashrc
How to read the non-login shell configuration file type:
~ / .bashrc -> / Etc / bashrc -> / etc / profile.d / * sh.
     
         
       
         
  More:      
 
- MySQL to NoSQL avatar (Database)
- MySQL combination Git achieve differential backups can be used in the production environment (Database)
- CentOS 6 compiling httpd-2.4.10 (Server)
- Oracle () trunc function usage (Database)
- Using IntelliJ IDEA 13 integrated development environment to build Android (Linux)
- Ceph performance optimization summary (v0.94) (Server)
- Red Hat Linux security settings document (Linux)
- Python programmers most often committed ten errors (Programming)
- Nodejs mysql pool Example (Programming)
- Hands to teach you to solve Ubuntu error message (Linux)
- Recent Consolidation Using Linux security module (Linux)
- How to use secure FTP file transfer (Server)
- A key installation Gitlab 7 on RHEL6.4 and Setup Mail TX (Linux)
- See Shell Script Linux Server network traffic (Server)
- MySQL event table to achieve timing build a small note (Database)
- Brief Linux commands (Linux)
- Use Hexo quickly build and deploy a blog to Github (Server)
- MySQL high availability cluster fragmentation of deployment uses Fabric (Database)
- CentOS 5.3 under broadcom NIC dual activation issues (Linux)
- Let the terminal under Mac OS X as like Linux has displayed a variety of colors (Linux)
     
           
     
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.