Explore the usefulness of Linux shell (bash) for automating tasks and data processing problems.
Goals
At the end of this lesson you will:
-
Understand the file system layout
-
Understand what Shell is
-
Be able to use the most common Linux commands
-
Be able to use input and output streams as well as pipelines
-
Be able to write simple scripts
-
Explore the use of Regular Expressions
-
Known how to monitor process execution
-
Have an overall Linux culture
Course Organization
| Date & Time | Lecture | Practical |
|---|---|---|
September 09, 2025 13h30-16h45 (EF S1.32) |
|
|
September 10, 2025 13h30-16h45 (EF S1.32) |
||
September, 2025 13h30-16h45 (EF S1.32) |
||
October 01, 2025 13h30-16h45 (EF S1.32) |
||
October 15, 2025 13h30-16h45 (EF S1.32) |
|
|
November 05, 2025 15h15-16h45 (EF S1.32) |
Exam (Sample Example, Solution) |
|
Note
|
These materials do not constitute the totality of what you have to learn. Most of the learning will come from practice and from further reading. |
|
Note
|
This material has been prepared by Xavier Serpaggi. I am reusing it with his authorization and implementing some modifications as required. |
Assessment
-
Exam (100%)
References
-
"Unix Text Processing", Dale Dougherty and Tim O’Reilly, Hayden Books, 1987
https://www.oreilly.com/openbook/utp/ -
Christophe Blaess cheat sheets[FR]
https://www.blaess.fr/christophe/developpements/aides-memoires/-
Unix commands[FR]
https://www.blaess.fr/christophe/memo_commandes_unix.html -
Shell programming[FR]
https://www.blaess.fr/christophe/memo_programmation_shell.html
-
-
Rich’s sh (POSIX shell) tricks
https://www.etalabs.net/sh_tricks.html -
Bash Reference Manual
https://www.gnu.org/software/bash/manual/bashref.html
-
Advanced Bash-Scripting Guide
http://tldp.org/LDP/abs/html/ -
"Mastering Regular Expressions, 3rd Edition — Understand Your Data and Be More Productive", Jeffrey Friedl
https://www.oreilly.com/library/view/mastering-regular-expressions/0596528124/ -
"GAWK: Effective AWK Programming", Edition 4.1
http://www.gnu.org/software/gawk/manual -
Manual pages‡ :
bash(1),grep(1),regex(7),gawk(1)
‡ : read thoses pages on your own operating system, not on the Internet!