Find the answer to your Linux question:
Results 1 to 2 of 2
Hi All, I wanted to copy one file to multiple new files. I have an idea to write a script and do the operation. But here i m looking for ...
  1. #1
    Just Joined!
    Join Date
    Aug 2008
    Posts
    49

    Copy one file content to multiple file

    Hi All,

    I wanted to copy one file to multiple new files. I have an idea to write a script and do the operation. But here i m looking for any particular command to do this operation.

    Please let me know.

    Thanks.

  2. #2
    Linux Newbie
    Join Date
    Sep 2004
    Location
    UK
    Posts
    160
    cat original_file | tee file_1 file_2 file_3 file_4 > file_5
    In a world without walls and fences, who needs Windows and Gates?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...