PDA

View Full Version : Deleting files of a particular extension



tech291083
9th September 2007, 01:41 PM
hi,

Can any one please tell me the command that can be used to delete files of a particular extension such as .doc or .txt or .class etc from a folder or a directory on Linux? Thanks a lot.

jtang613
9th September 2007, 01:47 PM
rm /path/*.extension