The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #5 (permalink)  
Old 12-09-2007
Smiling Dragon's Avatar
Smiling Dragon Smiling Dragon is offline
Disorganised User
 

Join Date: Nov 2007
Location: New Zealand
Posts: 742
Quote:
Originally Posted by tonyvirk View Post
Thanks everyone. It worked.

Could also tell me how can I do the request where user have asked to remove all files from certain directory with .html extension.
rm <directory>/*.html (eg rm /dding/ting/tong/unixyang/output/*.html)

Or if it should recurse to find all html files in subdirectories too:

rm -r <directory>/*.html (be careful to type this correctly)
Reply With Quote