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
grepmanual - Learners can use
grepto search for a regular expression - Learners can send text to
grepusing a pipe - (optional) Learners have seen the flexibility of
grep
Regular expressions and sed
- Learners can use
sedto filter for lines using a regular expression - Learners can use
sedto replace lines using a regular expression - Learners can use
sedto delete lines - Learners can use
sedwith different types of input and output - Learners can use
sedwith the two different regular expression types - (optional) Learners have seen three
sedlearning resources
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
ifstatements in Bash scripts - Learners can use
forstatements in Bash scripts
Not in Bash scripting
- Bash variable expansion
- The multiple syntaxes of an
ifstatement
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)zipandtar