74 lines
1.2 KiB
HTML
74 lines
1.2 KiB
HTML
<HTML>
|
|
<HEAD>
|
|
<TITLE>cat(1)</TITLE>
|
|
</HEAD>
|
|
<BODY>
|
|
<H1>cat(1)</H1>
|
|
<HR>
|
|
<PRE>
|
|
|
|
</PRE>
|
|
<H2>NAME</H2><PRE>
|
|
cat - concatenate files and write them to stdout
|
|
|
|
|
|
</PRE>
|
|
<H2>SYNOPSIS</H2><PRE>
|
|
<STRONG>cat</STRONG> [<STRONG>-u</STRONG>] [<EM>file</EM>] ...
|
|
|
|
|
|
</PRE>
|
|
<H2>OPTIONS</H2><PRE>
|
|
|
|
<STRONG>-u</STRONG> Unbuffered output
|
|
|
|
|
|
</PRE>
|
|
<H2>EXAMPLES</H2><PRE>
|
|
|
|
<STRONG>cat</STRONG> <STRONG>file</STRONG> # Display file on the terminal
|
|
|
|
<STRONG>cat</STRONG> <STRONG>file1</STRONG> <STRONG>file2</STRONG> <STRONG>|</STRONG> <STRONG>lpr</STRONG>
|
|
# Concatenate 2 files and print result
|
|
|
|
|
|
</PRE>
|
|
<H2>DESCRIPTION</H2><PRE>
|
|
|
|
<EM>Cat</EM> concatenates its input files and copies the result to <EM>stdout</EM>. If no
|
|
input file is named, or - is encountered as a file name, standard input
|
|
is used. Output is buffered in 512 byte blocks unless the <STRONG>-u</STRONG> flag is
|
|
given. If you just want to copy a file, <EM>cp</EM> should be used since it is
|
|
faster.
|
|
|
|
|
|
</PRE>
|
|
<H2>SEE ALSO</H2><PRE>
|
|
<STRONG><A HREF="../man1/cp.1.html">cp(1)</A></STRONG>.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</PRE>
|
|
</BODY>
|
|
</HTML>
|