2

Like when I cd to a directory, let's say Desktop. I create a file using

> index.html

Can it be done somehow that same file has basic html markup, like html/head/body tags?

2

1 Answer 1

4

There is an easier method: create a "template" in ~./Templates and cp that to make a copy where you need it.

2
  • 1
    Hope you do not mind the edit. No need for it to be a question(=comment) ;)
    – Rinzwind
    Nov 20, 2015 at 15:29
  • 2
    Not at all. Just getting started here (clearly)
    – Eddie Dunn
    Nov 20, 2015 at 15:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.