The Find Command

This is HowTo Search and delete file with “find command” Pretty Handy !

find /home/work/salman/ -type f -name *.txt -exec rm -i {} \;

This command will find all of the files with extension txt such as file.txt and ask for its removal.

Thanks and Enjoy Linux Tip of the Day.
Salman