Skip to main content

Concatenating files with cat

posted onJanuary 24, 2003
by hitbsecnews

This article takes a look at cat -- the command that UNIX lovers love to love, and UNIX haters love to hate. Cat is useful when you need to process several files as one and save the results of such processing to a single output file. The cat (short for "concatenate") command takes one or more files on its input and prints them to its output as a single file. For example, cat chapter01 chapter02 chapter03 > book saves three chapterXX files into a single book file. Sample code bits are also included.

Source

Tags

Linux

You May Also Like

Recent News

Friday, November 29th

Tuesday, November 19th

Friday, November 8th

Friday, November 1st

Tuesday, July 9th

Wednesday, July 3rd

Friday, June 28th

Thursday, June 27th

Thursday, June 13th

Wednesday, June 12th

Tuesday, June 11th