Beginner Course
Episode 55

Streams introduction

This episode introduces the 3 common file descriptors in UNIX: standard input, standard output, and standard error.

Watch episode 
Episode 56

Using cat to input data

This episode shows how you can input data using the `cat` command, and how using the Control-D character is used to signal that you're done inputting data.

Watch episode 
Episode 57

Redirect stdout

This episode shows an example of redirecting the standard output, or stdout, of a command to a file.

Watch episode 
Episode 58

Using cat with multiple arguments

The episode shows how to pass multiple file arguments to the `cat` command to concatenate the content of those files and redirect its standard output, or stdout, to a new file.

Watch episode 
Episode 59

Redirect with > can overwrite

This episode shows how redirecting standard output with > can overwrite existing files.

Watch episode 
Episode 60

Redirect stdout with >>

This episode shows how to redirect standard output to an existing file, but instead of overwriting the contents, the data is appended.

Watch episode 
Episode 61

Redirect stdout of multiple files

This episode shows how to pass multiple file arguments to the `cat` command and redirect its standard output using the append operator.

Watch episode 
Episode 62

Redirect stdin with

This episode shows how to redirect the standard input of a file into commands such as `mail` and `cat`.

Watch episode 
Episode 63

Redirect stdin then stdout

This episode shows how to pass a file as standard input to the `sort` command and then redirect the resulting standard output to a separate file.

Watch episode 
Episode 64

Redirect stdout and stderr

This episode shows different notations for redirecting standard output and standard error at the same time.

Watch episode 
Episode 65

Redirect stdout & stderr to separate locations

This episode shows how to redirect standard output to a file and an alternate syntax for redirecting standard error to a separate file.

Watch episode 
Episode 66

Redirect stderr to nowhere

This episode shows how to redirect standard error to a null device, a bit bucket located at /dev/null.

Watch episode 
Episode 67

Here document

This episode demonstrates how to create a `here` document, a temporary document that maintains formatting, expands environment variable names and returns the results of commands being run inside it.

Watch episode 
Episode 68

Pipes introduction

This episode covers the basics of using pipes, which is a conventional approach in UNIX for single commands to be chained together to create more powerful tools.

Watch episode 
Episode 69

Top 10 unix commands

This episode shows a practical example for how pipes can be used to analyze your command usage. A wide number of commands are used, including `history`, `cut`, `sort`, `uniq` and `head`.

Watch episode 
Episode 70

The tee command

This episode shows how to use the `tee` command to send standard output to the terminal and a separate file at the same time.

Watch episode