> Another Question(off topic from the above), how does one delete a file of > a given directory from c, in linux. For that matter, how can one perform > simple shell activities, (ls, rm, mkdir,..etc) within a c program? try system function with command as argument like <> system(ls); <> shubh