Table of contents
1. Introduction to Operating Systems
- What is an Operating System?
- What does an Operating System do?
- Components of an Operating System
- Graphical User Interfaces vs Command Line Interfaces
- A Brief History of Operating Systems
- Anatomy of a Command Line Interface (CLI)
2. Filesystem Basics
- Hierarchical File Systems
- Filenames
- Current Working Directory
- Pathnames
- Volume Designators
- Basic Commands for Dealing with Files and Directories
3. Filename Patterns, Common Commands, and Text Editors
4. Permissions
5. Redirection
6. Resources and Processes
7. Bash Scripting
- What is a Script?
- Basic Requirements for Shell Scripts
- Comments
- Variables
- Environment Variables
- Reading Values from Stdin: read
- Command Capture
- Arithmetic
- Exit Status Codes
- Conditional Logic: if / then / elif / else / fi
- The test Command
- Parameters
- Example Scripts
- Looping in Bash
8. Windows CMD Scripting
- Windows vs. Linux Scripting
- Basic Requirements for Shell Scripts
- Command Echos
- Basic Script Example
- Variables
- Environment Variables
- Reading Values from Stdin: set /p
- Conditional Logic: if/else
- Script Paramterrs
- Looping