|
1 | 1 | *******************************************************************************
|
2 |
| - Base Commands |
| 2 | + Commands |
3 | 3 | *******************************************************************************
|
4 | 4 |
|
5 | 5 | A computer's operation, no matter which operating system it is running, can be
|
@@ -70,3 +70,23 @@ In shells, there are essentially two kinds of commands:
|
70 | 70 | files, which within the file system are found in directories like */bin* or
|
71 | 71 | */usr/bin*. As a user, you can provide your own programs, which the shell
|
72 | 72 | will execute like other external commands.
|
| 73 | + |
| 74 | +What is the shell? |
| 75 | +================== |
| 76 | + |
| 77 | +All kinds of definitions are available, ranging from the simple comparison that |
| 78 | +"the shell is the steering wheel of the car", to the vague definition in the |
| 79 | +Bash manual which says that "bash is an sh-compatible command language |
| 80 | +interpreter", or an even more obscure expression, "a shell manages the |
| 81 | +interaction between the system and its users". |
| 82 | + |
| 83 | +A shell can best be compared with a way of talking to the computer, a language. |
| 84 | +Most users do know that other language, the point-and-click language of the |
| 85 | +desktop. But in that language the computer is leading the conversation, while |
| 86 | +the user has the passive role of picking tasks from the ones presented. It is |
| 87 | +very difficult for a programmer to include all options and possible uses of |
| 88 | +a command in the GUI-format. Thus, GUIs are almost always less capable than |
| 89 | +the command or commands that form the backend. |
| 90 | + |
| 91 | +The shell, on the other hand, is an advanced way of communicating with the |
| 92 | +system, because it allows for two-way conversation and talking initiative. |
0 commit comments