In modular programming file 01directory is copy in file02 directory. I want to remove file 01directory from file 02directory which command is use to remove the file 01directory?
In terms of pointers, dangling pointer is something that happens when the pointer goes out of scope of the variable, whereas memory leak occurs when we forget to deallocate the memory allocated for the pointer.
rm -f filename(rm-this cmd use to remove file) rmdir directory name(rmdir-this cmd used to remove directory) cp-this cmd used to copy the file mv-change the file name.