~/talk

From Scratch to Shell: Building Your Own Functional Bash

Talkat BlaBlaConf 2025 · 2025-02-03..02-07· [linux-and-operating-systems]
slides:none on file

A compact, working Bash clone implemented in C that demonstrates core internals: a lexer→parser→AST pipeline, parameter and word expansion, builtins like cd and export, external command execution via fork+execvp with wait/waitpid and exit-status handling, pipes implemented with pipe/dup2, file-descriptor redirection, simple job control for background jobs, signal handling, and Readline for input/history. The demo runs but omits many Bash features (quotes, full globbing, advanced job control), making it a practical, minimal shell for learning and extension.

AI-written summary · about

  1. 0:00Introduction to Bash
  2. 2:16Core Bash features
  3. 6:17Simple shell demo
  4. 9:47Parsing and execution
  5. 13:00Variable expansion
  6. 15:49Background jobs
  7. 16:55Pipes and redirection
  8. 18:24Error handling
  9. 19:48Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.