linux delet file code example
Example 1: how to delete particular type file recursively in linux
find . -type f -name '*.o' -delete
Example 2: shell remove file
rm <file_name>
Example 3: remove directory linux
rm -rf /path/to/directory/*
Example 4: removing a file in linux
#use the command rm <file or foldername>
#for example removing a file called book
rm book