Lab 3 Description
In this lab I will show the following commands:
a. >
b. <
c. |
d. grep
e. head
f. tail
g. echo
The “>” command in Linux will redirect output from stdout.
The “<” command in Linux will redirect input.
Pipelines allows you to redirect the output of one command and pipe it as input to another
The operator is the vertical bar |.
The command “grep” allows you to find text patterns within files. When grep finds the pattern, it prints out the lines containing it.
the command “head” prints the first 10 lines of a file.
The command “tail” prints the last 10 lines of a file.
The command “echo” is mainly used to display a line of text.