Hi,
I want to run a command "mv file1.log file2.log" from a program. I tried
system("mv file1.log file2.log");
but it is coredumping sometimes. I saw the man page and it said that we
should not use system() in programs which is created and compiled bu
superuser.

Is there any other way in which I can do this??
Thanks for the help in advance.
Sreekumar