Here is the video version, if you prefer it:
A flashback – we talked about:
Redirecting input and output:
ls > output.txt
is an example
- Use
>>
to append - Use
&>
to redirect both standard output and standard error
Other stuff we talked about:
- Pipelines are used to redirect standard output of one command to the standard input of the other command; usage:
command1 | command2
- Shell globbing (wildcards) is used to match filenames before the command is executed
- Brace expansions –
something{else,else2,else3}
(no spaces between the commas) - Regular expressions are used to match patterns in text; for example,
a*
means match the character a zero or more times
Hope you refreshed your memory!