1. What is Bash
In Windows systems, the most common use of a graphical interface is to perform performance. Sometimes we also use DOS commands to execute commands, where DOS is a text-mode interface, and we have some DOS instructions that can be done by interacting with the kernel of the Windows system. For example, the DIR directive is similar to the LS directive in Linux. The DOS command line we use here is similar to the Linux Bash shell environment.
BASH is the abbreviation for the Bourne Again Shell, developed from the SH-unix system, and is a tool for users to interact with the Linux kernel, using bash to operate the kernel for system use and management.
Types of 2.shell
Bash is a shell, and there are many kinds of shells in Linux.
- Bin/sh has been replaced by Bin/bash.
- Bin/bash is the default shell for Linux
- Bin/ksh from Bell Labs for bash-compatible
- BIN/TCSH Consolidated C Shell features more powerful
- BIN/CSH has been replaced by TCSH.
- Bin/zsh from Ksh for more powerful functions
Each shell script has a similar function, but the syntax is slightly different.
For example:
Into the shell,
Cd/bin (executable files and applications in bin directory)
Ls-la *sh (View the file name at the end of the current directory with the end of SH)
The history of 3.bash
01bash Shell overview