: 4 .
: SHELL, SHELL.
, . Linux (shell), , .
Linux . , , , , .
, -: Shell , , , . .
-, . . .
shell. . Bash (Bourne Again Shell).
Bourne Again Shell bash. Linux Bourne Again Shell sh. , , , shell. Login shell. .
exit, bye quit. , , . Bourne Shell exit bye. , shell , Ctrl+D. Login Shell logout.
, , , ($), (%) (#). . . :
- Linux, , .
.
(, ).
|
|
(;)
. ; ( ) & (): command1; command2; command3<enter>
Linux , , . .
, :
cd; pwd; ls<enter>
Shell :
cd , ;
pwd ;
ls .
Shell , .
3.1. ( *)
* ( )
3.2. (?)
? .
3.3. ( \)
\ . , trail, :
The all * game
(*) , grep:
grep \* trail<enter>
grep * , . \, shell .