![]() |
![]() |
![]() head
|
![]() |
cat
Command
cat
(concat
enate) command is an exceptionally versatile command. First
let's look at a familiar use, viewing. To use the cat
command to
view a file simply type cat
followed by the filename. Try:
> cd ~
> cat .forward
If you created your .forward file in the e-mail section, Unix should
display your e-mail address
Although cat
, view
and more
can all be
used to view files, it is recommended that you only use cat
for
very short files and use view
or
more
for longer files.
Cat
in combination with the special symbols <
,
>
, >>
and |
can be used for several
other purposes which you will learn about over the
next several sections.
![]() |
![]() |
![]() head
|
![]() |