Learning outcomes
Day 1: smarter command line
Linux pipe
- Learners can chain commands using the Linux pipe
wc
and cut
- Learners can use
wc
- Learners can use
cut
Regular expressions and grep
- Learners know there are multiple flavours of regular expressions
- Learners can use
.
, *
, +
, ?
, []
, [^]
, {}
, ()
in regular expressions
- Learners can use
grep
- Learners have practiced using the
grep
manual
- Learners can use
grep
to search for a regular expression
- Learners can send text to
grep
using a pipe
- (optional) Learners have seen the flexibility of
grep
Using the programming language AWK
- Learners can use
awk
- Learners have practiced using a book on AWK
- Learners can use
awk
in pipes
- Learners can use
awk
to read a specific column
- Learners can use
awk
to transform text
- Learners can use regular expressions in
awk
Day 2: smarter Bash
Bash scripting
- Learners can write Bash scripts
- Learners have practiced using a book on Bash scripting
- Learners can write Bash scripts that require user input
- Learners can use variables in Bash scripts
- Learners can use
if
statements in Bash scripts
- Learners can use
for
statements in Bash scripts
Environment variables
- Learners can create, read and write to environment variables
Advanced redirect
- Learners can redirect output between the standard,
error and log output streams
Links (hard/soft)
- Learners can create soft and hard symbolic links
Quality of life
- Learners can start a background process with
&
and terminate it
- Terminal shortcuts/usage
- Editing a
.bashrc
- Using aliases
Archiving/Compressing data
- Archiving/Compressing data|Learners can compress and extract data,
using
(g)zip
and tar
Regular expressions and sed
- Learners can use
sed
for pattern matched replacing