Categories: Linux administration, Linux programming, shell, C, kernel, embedded
A hands-on course that presents the Bash shell as a programming tool, from language syntax to practical script programming. Example applications in administrative tasks automation are discussed. During the course participants create real-world scripts (for user management, filtering system logs, making backups etc.).
Duration
1 day
Agenda
- How to use the command line efficiently, useful keyboard shortcuts
- Streams and redirections
- Filters and their typical applications (head, tail, wc, tr)
- Regular expressions
- introduction
- syntax
- grep
- Shell scripts
- variables and parameters
- working with variables, substitutions and expansions
- conditions and loops
- functions and parameter passing
- Archives (zip, gzip, bzip2)
- Talking to the user – interactive scripts
- Talking to the network with the nc (netcat) command
- Signals, trapping and handling
Audience and prerequisites
This course targets Linux system and network administrators.
Participants are expected to know system administration basics and know how to use a text editor (preferably vim).
Certificates
Course participants receive completion certificates signed by ALX.