Start shell
The GNU Bash Shell provides interactive access to Linux systems. He runs as a regular program and usually starts when the user logs on to the terminal. When you log in, you start the shell based on the user profile/etc/passwd.
/ETC/PASSWD contains a list of all system user accounts and basic information for each user. Eg: one of the entries
Christine:x:501:501:christine Bresnahan:/home/christine:/bin/bash
Description
Each entry has 7 fields, separated by a colon ":" between the fields
- User name
- User password (a placeholder if the password is stored in another file)
- UID (User ID)
- GID (group ID)
- User's full name
- User Default Home Directory
- User Default Shell program
Although the bash shell is started by default when the user logs on, the CLI interface of the shell will also depend on how you log in that way. If you log in graphically, the CLI interface will not appear, as shown in the following location:
3rd Chapter Basic Bash shell commands