Renaming an executable file

HI

How to rename an executable file in unix

Hi,

I guess this can be done as follows

cp old_executable new_executable

and if you dont need the old executable do as follows

mv old_executable new_executable

Tell me if this works for u

cheers,
Gaurav

in case of renaming

mv would come into action

rather than a cp and rm

mv working fine.

thanks 4 ur help