Unix process model
- Kernel —
fork,execve,exit,wait - Note the hashbang
- ps
- proc file system
- process attributes
- standard input, output and error
- return codes
Shells
- the Unix shell
- bash — the Bourne-Again-SHell
- Default terminal shell on Linux and macOS
- Now available on Windows 10
- PowerShell — you can now get it for Linux and macOS
Too many shell scripting references
- BASH Programming - Introduction HOW-TO
- Bash scripting Tutorial
- Linux Shell Scripting Tutorial (LSST) v2.0
- Shell Style Guide
Let’s see what is being used.
Two useful programs
- IBM developerWorks tutorial on awk
- IBM developerWorks tutorial on sed
- Sed & awk: pocket reference (available from UNC Asheville library)