3rd Chapter Basic Bash shell commands

Source: Internet
Author: User
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

  1. User name
  2. User password (a placeholder if the password is stored in another file)
  3. UID (User ID)
  4. GID (group ID)
  5. User's full name
  6. User Default Home Directory
  7. 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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.