Title here
Summary here
Shell variables are a general term. If you are using a specific shell, such as Bash, you can call it a Bash variable. But it is important to note that shell variables are not environment variables, do not be confused by their capitalization, here are the relevant official documents.
gun.org
gun.org
You can also view it by using the man command and searching for Shell Variables
.
Shell command prompt.
Current user ID.
You can see that the parent process of bash is sshd.
Subshell nesting level, starting from 0.
Seconds since the shell started.
0 ~ 32767 random number.
Refer to the later chapter on environment variables