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? I want to delete the files together not individually though. Thanks a lot.
tech291083 5
Junior Poster
Recommended Answers
Jump to Post
rm *.<extension>
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.