print the contents of a file to the screenfrom a terminal
cat [filename]
Camilo Gonzalez wrote:
> I see the word 'cat' being used an awful lot lately here and have
> encountered it in other readings. What is cat and what is it used for?
>
> #!/usr/local/bin/perl
&
cat - concatenate files and print on the standard output
> -Original Message-
> From: Camilo Gonzalez [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 03, 2002 9:55 AM
> To: '[EMAIL PROTECTED]'
> Subject: What is cat?
>
>
> I see the word 'c
Camilo,
Basically, it's a UNIX function that squeezes files together. It is short
for "concatenate." Simple example:
cat file1 file2 > file3
Use your manpage for further info:
man cat
You can also use it to view the contents of a file, similar to 'more' or
'less.' Example:
> -Original Message-
> From: Camilo Gonzalez [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 03, 2002 9:55 AM
> To: '[EMAIL PROTECTED]'
> Subject: What is cat?
>
>
> I see the word 'cat' being used an awful lot lately here and have
> en
Type:
man cat
Cheers,
Kevin
On Mon, Jun 03, 2002 at 08:54:34AM -0500, Camilo Gonzalez
([EMAIL PROTECTED]) said something similar to:
> I see the word 'cat' being used an awful lot lately here and have
> encountered it in other readings. What is cat and what is it used for?
&
I see the word 'cat' being used an awful lot lately here and have
encountered it in other readings. What is cat and what is it used for?
#!/usr/local/bin/perl
print <<' EOF'
Camilo Gonzalez
Web Developer
Taylor Johnson Associate