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!
NewsletterUpdates on interesting things I am doing
Subscribe to my newsletter to keep abreast of the interesting things I'm doing. I will send you the newsletter only when there is something interesting. This means 0% spam, 100% interesting content.