help needed! my first script

Create a file with x amount of lines in it, the content of your choice.

Write a script named 'firstline' that takes two arguments. The first being a line of text, the second being your newly created file. The script should take the first argument and insert it into the very top (the first line) of the file named in your second argument.
any help!
i just don't know where to start!

Ok, this looks like homework, so i won't solve that for you, but will give you some hints on how you can find the answer. Note however, that asking questions regarding homework assignments is generally forbidden here so you are already on a very narrow path with your question:

Consider you have you file, the content could look like

you have probably created it using vi or some other text editor, but which UNIX command do you use to display a file?

How you get parameters from the command line into your script is part of every shell manpage, so i won't tell you here how this is done. Consider, your line is

your desired result would then be

You sure have heard about output redirection, yes? If not, study your book again. You'll find your answer there along with everything you need to create your script.

bakunin