Hardware Reference
In-Depth Information
The more and cat commands connected using the | operator
> and >>
The
>
and
>>
operators are really powerful operators that take the data that is
output by a program and write it to a file. The
>
operator replaces the file and the
>>
operator appends it to a file.
Remember that everything in Linux is a file, so you can use the
>
and
>>
operators to
direct the output to a serial port or a printer.
The > operator writes the result of an ls command to a file