Advanced Search
Search Results
7 total results found
Basic Operations
Default Shell echo $SHELL /bin/bash If you start a new Shell in the current terminal (e.g., switching from Bash to Zsh), this command still displays the default login Shell, which is configured in /etc/passwd. grep root /etc/passwd root:x:0:0:root:/root:/b...
Command History
The Mysterious ^[[A First, start a new Shell /bin/sh. /bin/sh Then enter the following command, everything is normal. ls -l Press the up arrow key ⬆️ to view the previous command. ^[[A You will find that you cannot see the previous command, instead, these ...
Command Type
Builtin Commands Builtin commands are implemented by the Shell itself, they run without starting a new process or calling an external program, which is the basic functionality of Shell operations. Builtin Commands Ex cd:Change the current working directory. ...
What is Shell
A shell is a command-line interpreter that lets you interact with the operating system by typing and executing commands. GNU Bash Manual Bash is the default Shell in Linux, the official manual is forever divine. Bash Reference Manualhttps://www.gnu.org/softwa...
Subshell
The definition of Subshell in some books or materials is unclear, and the explanations often contradict each other, making it difficult to understand. Therefore, to avoid this semantic and logical problem, we will not provide its definition (it is recommended ...
Terminal
A terminal is a user interface, while a shell is running inside a terminal. Early Terminals Early terminals were standalone hardware devices used to connect to main computers or servers. They typically included: Input Device: such as a keyboard, used for in...
Shell Variables
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 relev...