Home IT Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Profile Linux users login shell and login to read     - Build your own CA services: OpenSSL command line CA Quick Guide (Server)

- Tip: Use Cryptsetup U disk encryption (Linux)

- Why you can have JavaScript string method (Programming)

- CentOS6 5 source compiler installation Hadoop2.5.1 (Server)

- Hadoop 2.2.0 installation development environment (standalone pseudo-distributed mode) (Server)

- Use OpenSSL to generate a certificate detailed process (Linux)

- Depth study and understanding for individual users suicide DDoS attacks (Linux)

- Linux system started to learn: how to view the Linux thread of a process (Linux)

- Installation Flow N Play- interface stylized video player on Ubuntu (Linux)

- How to Create a file can not be changed under Linux (Linux)

- Ubuntu 14.04 How to set up an SSH without password (Linux)

- 10 important Linux ps command combat (Linux)

- To install Python-Pip and Fabric under CentOS / Ubuntu (Linux)

- Lenovo E431 notebook CentOS system is installed wireless network card driver (Linux)

- In-depth understanding of capture Node.js garbage collection and memory leaks (Programming)

- Java Concurrency: synchronized (Programming)

- Teach you how to ensure password security under the Linux operating system (Linux)

- Python substring format (Programming)

- Linux boot process and run level (Linux)

- Linux modify environment variables method (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:      
 
- ethtool implementation framework and application in Linux (Linux)
- 10 useful tools for Linux users (Linux)
- Linux the best download manager uGet (Linux)
- Ubuntu 14.04, 13.10 install OpenCV 2.4.9 (Linux)
- Deploy OpenStack Juno on Ubuntu 14.04 (Linux)
- The Linux C truncate function clears the file notes (Programming)
- Ubuntu 14.04 + xRDP + Xfce implement Windows Remote Desktop Connection (Linux)
- pga_aggregate_target and _pga_max_size can not use absolute limit actual PGA (Database)
- sed command (Linux)
- Linux LVM space expansion Demo (Linux)
- JavaScript cross-browser event object library (Programming)
- C language files update in real time (Programming)
- Use virt-manager to create and manage virtual machines (Linux)
- PL / SQL -> UTL_FILE use presentation package (Database)
- WEB-based Android Remote Tools Python implementation (Programming)
- The official release method to upgrade to Ubuntu 15.04 (Linux)
- Linux System Getting Started Learning: From VirtualBox from the client host access NAT (Linux)
- MySQL appears data too long for column 'name' at row 1 to solve (Database)
- ORA-27054 NFS problem solving (Database)
- PCM audio under Linux (Linux)
     
           
     
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.