[HW] Script so that when i execute the "rm" command

view story

http://www.unix.com – Hi guys, I need to write a script so that when i execute the "rm" command, the file mentioned need to be copied to other folder and then be deleted. this should be done in back ground. can you please help me out?? I have written a code in c for this but i dont have C compiler and i dont have admin rights to install too. Code: #include<stdio.h>   #include<unistd.h>   #include<fcntl.h>   #include<sys/types.h>   #include<string.h>     int main(int argc, char *argv[])     {         &n (HowTos)