diff options
| Commit | 6feed223ff48fe00cf12fcd63f3f56179c298cae (patch) | |
|---|---|---|
| Author | 2023-03-04 10:29:13 +0200 | |
| Committer | 2023-03-04 10:29:13 +0200 | |
| Files | b0354747962bcad1aabf702050acd7674f8e4510 /src | |
| syndamia.com-6feed223ff48fe00cf12fcd63f3f56179c298cae.tar syndamia.com-6feed223ff48fe00cf12fcd63f3f56179c298cae.tar.gz syndamia.com-6feed223ff48fe00cf12fcd63f3f56179c298cae.zip | ||
| Parent | bccb3540e396c2809b49f7b8aede8d0d42f81371 (diff) | |
[talks/lbs] Minor corrections
1 files changed, 7 insertions, 6 deletions
| -rw-r--r-- | src/talks/linuxgraphy-by-strabo/index.md | 13 |
diff --git a/src/talks/linuxgraphy-by-strabo/index.md b/src/talks/linuxgraphy-by-strabo/index.md index 6dcb0b3..4cec96b 100644 --- a/src/talks/linuxgraphy-by-strabo/index.md +++ b/src/talks/linuxgraphy-by-strabo/index.md @@ -517,7 +517,7 @@ A process can be **forked**, meaning a new process is created, with the same und #### Exit status Every process, before being deleted (and after being in a Terminated state) passes a small number, called the [exit status](https://en.wikipedia.org/wiki/Exit_status) (exit code), to it's parent process. -For all intents and purposes, this number is an 8bit unsigned integer, meaning it's value is between 0 and 256. +For all intents and purposes, this number is an 8bit unsigned integer, meaning it's value is between 0 and 255. Pretty much universally, an exit code of 0 signifies a successful termination, and anything else specifies some sort of error code. Different programs specify the meaning of an exit code in different ways, some assign each number to a specific error, other use the bits representing the number as flags. @@ -671,7 +671,7 @@ A variable, also called parameter, is created with the syntax (NO spaces between name=value ``` -Where `name` is either a combination of letters (upper and lower case), numbers and the underscore character, which always begins with a letter, or one of select few **positional** and **special** parameters. +Where `name` is either a combination of letters (upper and lower case), numbers and the underscore character, which cannot begin with a number, or one of select few **positional** and **special** parameters. &&/slide @@ -750,7 +750,7 @@ Some parameter expansions in bash: - `${#parameter}` length of characters - `${parameter:offset}` and `${parameter:offset:length}` return substring from index offset - `${parameter/pattern/string}` return a string, where every match on pattern is replaced by string -- `${!name[@]}` a (space separated) sequence of indices from 0 to length (for defined values) of array name +- `${name[@]}` a (space separated) sequence of indices from 0 to length (for defined values) of array name &&/slide @@ -1302,12 +1302,12 @@ It's main components are: A distribution is a complete set of of all applications that you might use. -Overall, there are five distributions from which 90% of all other distros are based upon: +Overall, there are 4-5 distributions from which 90% of all other distros are based upon: 1. [Slackware](http://www.slackware.com/): as the oldest still maintained distro, it served as inspiration for a lot of other distros. It aims to be as simple and as close to UNIX as possible. 2. [Debian](https://www.debian.org/) (and [Ubuntu](https://ubuntu.com/)): it is the most popular distribution (if we also include Ubuntu). Ubuntu aims to be modern and fancy, while Debian aims to be as stable as possible, which makes it the most popular in server usage. -4. [Gentoo](https://www.gentoo.org/): the distribution which defined non-binary software distribution -5. [Arch Linux](https://archlinux.org/): a very popular and modern distribution with the goal of providing the latest and greatest software. +3. [Gentoo](https://www.gentoo.org/): the distribution which defined non-binary software distribution +4. [Arch Linux](https://archlinux.org/): a very popular and modern distribution with the goal of providing the latest and greatest software. We haven't touched too much, but Linux distributions aren't limited to desktop or server computers. @@ -1363,6 +1363,7 @@ They served as personal educational and reference tools. - [Bash Reference Manual](https://www.gnu.org/savannah-checkouts/gnu/bash/manual/bash.html) by the [GNU project](https://www.gnu.org/) and [ksh manual](https://man.openbsd.org/ksh) by the [OpenBSD project](https://www.openbsd.org/) - [Manual of the Bourne Shell on Version 7](https://www.in-ulm.de/~mascheck/bourne/v7/), archived by [Sven Mascheck](https://www.in-ulm.de/~mascheck/) - [/usr hierarchy](https://www.linuxbase.org/betaspecs/fhs/fhs/ch04.html) from [Filesystem Hierarchy Standard](https://www.linuxbase.org/betaspecs/fhs/fhs/index.html) by [Linux Foundation](https://www.linuxfoundation.org/), Daniel Quinlan, Paul 'Rusty' Russell, Christopher Yeoh +- [Filesystem Hierarchy Standard](https://www.pathname.com/fhs/pub/fhs-2.3.pdf) by Rusty Russel, Daniel Quinlan and Christopher Yeoh - [User & Group Names](https://refspecs.linuxbase.org/LSB_3.1.1/LSB-Core-generic/LSB-Core-generic/usernames.html#FTN.AEN26405) from [Linux Standard Base Core Specification](https://refspecs.linuxbase.org/LSB_3.1.1/LSB-Core-generic/LSB-Core-generic/book1.html) by [Free Standards Group](https://en.wikipedia.org/wiki/Free_Standards_Group) - [Managing User Accounts](https://docstore.mik.ua/orelly/linux/run/ch05_07.htm) from [Running Linux, Third Edition](https://docstore.mik.ua/orelly/linux/run/index.htm) by Matt Welsh, Matthias Kalle Dalheimer, and Lar Kaufman - [The BIOS/MBR Boot Process](https://neosmart.net/wiki/mbr-boot-process/) by [NeoSmart's Knowledgebase](https://wiki.neosmart.net/) |