Linux Shell series (1) Shell introduction, linuxshell
This is the first article in the Linux Shell series. For more shell tutorials, see the Linux Shell series tutorials.To learn about linux, shell is essential. Today I will give you a brief
In Linux or Unix-like systems, each user and process is running in a specific environment. This environment contains variables, settings, aliases, functions, and more. Here is a brief introduction to some of the common commands in the shell
Before introducing what shell is, let's review the relationship between users and computer systems. We know that computer operations cannot leave hardware, but users cannot directly drive hardware, hardware drivers can only be controlled through a
Knowledge before learning shell scripts1) Record command historyThe commands we've knocked on, Linux will be recorded, and presets can record 1000 historical commands. These commands are saved in the. bash_history file in the user's home directory.
(after waking up for a nap, the mind is particularly clear, so to organize a piece of Cao classmate's yesterday answers the ^_^, the process of collecting information, but also the process of learning)Background:Yesterday quickly off work, every
1. Manage user accounts: Every user logging into the Linux operating system should have their corresponding registered accounts, which record the user's information, such as user name, login password, the location of the user directory, the shell
creating, modifying, and deleting user accounts under the Linux system character interface mainly uses the 3 commands of Useradd,usermod and Userdel.I. Create a user accountCreate a user account is to create a new account in the system, and then
Shell Introduction The shell itself is a program written in C, which is a bridge for users to use Unix/linux, and most of their work is done through the shell. The shell is both a command language and a programming language. As a command language,
1. User identifier UID and GID/etc/passwd articlePiece structure: There are several lines that represent a few accounts in your system with each line: Split, altogether 7 fields. 1. Account name 2. Password: Get up early Unix, now put
LINUX Study Notes account and group management, linux Study NotesLINUX Account and Group Management
UID: UserID: Save the file:/etc/passwd
GID: GroupID save file:/etc/group
/Etc/passwd file structure
A row represents an account, which contains a
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.