Summary Files Commits Branches @commit @diff @stats
path: root / src
diff options
context:
space:
mode:
Commit37b350c5e673faf3a789e943f104256954d043b3 (patch)
Author
 Syndamia <kamen@syndamia.com>
2023-02-26 14:08:47 +0200
Committer
 Syndamia <kamen@syndamia.com>
2023-02-26 14:08:47 +0200
Files0d7403b058fa3b7eddc66dde4d0afc74b55f44e3 /src
syndamia.com-37b350c5e673faf3a789e943f104256954d043b3.tar
syndamia.com-37b350c5e673faf3a789e943f104256954d043b3.tar.gz
syndamia.com-37b350c5e673faf3a789e943f104256954d043b3.zip
Parent2a699bbcf16ab81528d7de673aca28133d464be9 (diff)
[talks/lbs] Slight rewording and reformatting of shell slides
1 files changed, 23 insertions, 9 deletions
-rw-r--r--src/talks/linuxgraphy-by-strabo/index.md32
diff --git a/src/talks/linuxgraphy-by-strabo/index.md b/src/talks/linuxgraphy-by-strabo/index.md
index 88a011b..8a5ecc8 100644
--- a/src/talks/linuxgraphy-by-strabo/index.md
+++ b/src/talks/linuxgraphy-by-strabo/index.md
@@ -261,22 +261,30 @@ Today we don't usually use such specialised hardware, but the names persist with
-&&slide &&font27
+&&clide
+
+Most commands are regular programs, which exist somewhere on the system.
+When entering a command name, the shell searches for an executable with that name.
+Searching the whole drive is very inneficient, so the search is limited to the few directories, listed in a variable called "PATH".
+
+You can give a full or relative path, and that will be execute directly.
-Most commands are regular programs, which exist in any folder (specified inside the variable "PATH").
Each command can be given parameters, separated by spaces, each (by convention) being either text values or options (switches).
Options usually start with a hyphen `-` (like `-c` or `-current-time`) and often support abbreviations (`-a -b -c` to `-abc`).
Newer conventions also allow start with two hyphens `--` (`--current-time`), though if shown as-is indicate the rest is a string.
More rarely you might see `--OPTION=VALUE` or just `OPTION=VALUE`.
-UNIX shells always have at least these additional functionalities:
+&&/clide
-- pipelines: being able to redirect the output from one command to another without limit
- ```
- command1 [args...] | command 2 [args...] | ...
- ```
+
+&&clide
+
+The first UNIX shell is the [Thompson shell](https://en.wikipedia.org/wiki/Thompson_shell).
+With time, other shells appeared, but each introduced it's own unique feature or syntax set.
+
+However, all of them have in common the two major functionalities of the Thompson shell:
- I/O redirection: redirection of input and output, allowing insertion of input from a file or storage of output into a file:
@@ -285,7 +293,13 @@ UNIX shells always have at least these additional functionalities:
command [args...] > filepath
```
-&&/font &&/slide
+- pipelines: being able to redirect the output from one command to another without limit
+
+ ```
+ command1 [args...] | command 2 [args...] | ...
+ ```
+
+&&/clide
@@ -303,7 +317,7 @@ UNIX shells always have at least these additional functionalities:
-&&slide &&font27
+&&slide
The main attributes that every inode has are as follows: