Bài .
Lập tnh Shell
Lập trình shell
Shell là trình thông dịch lệnh của Linux
Thường tương tác với người dùng theo từng câu
lệnh.
Shell đọc lệnh từ bàn phím hoặc file
Nhờ hạt nhân Linux thực hiện lệnh
Shell script
Shell script
Các chương trình shell, bao gồm chuỗi các lệnh.
Các loại Shells
Các loại Shells đều có chung các chức năng
bản như multitasking piping, d sử dụng
Có 4 Shells phổ biến nhất:
The Bourne shell (sh)
The Korn shell (ksh)
The C shell (csh)
Bourne Again Shell (bash).
Mối liên hệ gia các loại Shells
Common
core
Common
core
Bourne shell
Korn shell
C shell
Bourne Again Shell
core
core
Các chức năng của SHELL
Shell functions
Built-in Scripts Variables Redirection Wildcards Pipes Sequence Subshells Background Command
Commands Processing subsitution
Local
Environment
Conditional Unconditional