This course introduces Unix tools to experienced computer users. This course covers an orientation to Linux and Unix; using the Unix file system; text and data processing; standard Unix utilities; file and directory structure and the commands for managing and manipulating them; and a brief introduction to standard Unix text editors and mail systems.
Students completing this course will be able to:
- Understand basic functions and concepts of Unix-based operating systems.
- Understand the Unix file system and directory structure.
- Manage Unix files and directories.
- Use standard Unix text-processing utilities.
- Understand and utilize Unix stream processing utilities.
- Understand and utilize I/O redirection.
- Use standard Unix editors.
- Create shell scripts which utilize positional parameters and arguments.
Shell Programming in Unix, Linux, and Mac OSX by Kochan and Wood, 4th Edition. ISBN 978-0134496009
- History of Unix/Linux
- What is an Operating System?
Chapter 1
- What is a shell?
- Unix file systems
- Globbing
- Intro to filters and input piping
Chapter 2
- Background processes
- Command Execution
- Command Parsing
- Text editor basics
Chapter 3
- Regular Expressions
- Text filtering utilities
Chapter 4
- Variables and evaluation
Chapter 5
- Quote evaluation
Chapter 6
- Command arguments
- Special shell variables
Chapter 7
- Test and conditionals
- Exit codes
- Pattern matching
Chapter 8
- Iteration and loop control
- Background processes
- I/O redirection
Chapter 9
- Interactive scripts
- Script arguments
- Text as data
Chapter 10
- The shell’s environment
Chapter 11
- Parameters
- Shell options and set
- Shell process control
Chapter 12
- Unix signals and trapping
- Advanced piping and I/O redirection
- Writing dynamic shell scripts
- Advanced shell features
- Wrap up
- Final homework