On Thu, Aug 20, 2009 at 10:47 AM, Raj Mathur raju@linux-delhi.org wrote:
On Thursday 20 Aug 2009, Kussh Singh wrote:
Cat only works with text files, not binary files. I have tried it too to join split files.
cat is completely data-agnostic; in other words, no matter what the file contains, it treats it just as a string of opaque bytes, not text or binary. It works just fine for concatenating binary files. Hell, I've done "cat /vmlinuz > /dev/fd0" to make bootable floppies in my misspent youth!
even play music, cat file.wav > /dev/dsp
PS: monk, you are still young !!