Unix Dummy!

Hi everyone!! i need some help to do the next exercice, if some one can help-me!

Perform a script to swap two lines of a file. The name of
file as the two line numbers are passed as a parameter. It should be
verify that the file exists, have the necessary permits and lines.

i try everthing, but i can do it!! :frowning:

what have u tried so far???? post ur script so that we can help you if u have stuck some where...

BTW smells like a homework

i can not swap two lines of a file!!! i don now the commands:(

Homework postings are against the rules.
Thread closed!