Steven Gordon
This is the fifth video in the SIIT Linux Command Line series.
This video takes a step further from introducing simple commands, and sets the foundations for scripting by showing how to save the output of commands with output redirection, and how to combine commands together with piping.
grep
is demostrated first, and the output of that is used in following
examples. Distinction between standard output and errors is made.
An example used is to get the IP address of the eth0
interface, by
separating the line that contains the IP address with grep
and then
isolating the address with cut
.