cat

From RaySoft

The cat command is a standard Unix program used to concatenate and display files. The name is from catenate, a synonym of concatenate.[1]

Documentation

Further Information

Syntax

cat [PARAMETER ...] [FILE ...]

Parameters

-n, --number
Number all output lines.

Examples

Create a image from a Floppy
cat '/dev/fd0' >'/tmp/floppy.img'
Restore a image to a Floppy
cat '/tmp/floppy.img' >'/dev/fd0'
Paste content into a file
NOTE:
Press [Ctrl] + [D] to end the input.
cat >'file.txt'
bla
bla
bla

References