I want to duplicate the contents of a file. Suppose there is a file named "Hydrogen.element". I want to duplicate the contents of this file with a different name ie.make another file named "Helium.element". I am actually making a periodic table and I want to use the file named "Hydrogen.element" as a template.
Tell me more
×
Unix & Linux Stack Exchange is a question and answer site for
users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.
|
closed as not a real question by bahamat, Renan, Mikel, l0b0, Stéphane Gimenez Sep 17 '12 at 11:07
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, see the FAQ.
|
You would like to copy out a list of files from same source:
After which I will get:
They all share the same content of |
||||
|
Why not use
This command would create 10 files of the name element1.element, element2.element, etc. You can then just rename the files with the relevant element name. If you need to generate more element files, you can change the |
|||||||||||||
|