How do I delete all .o files?

Vy Bùi

New member
How do I delete all .o files?
Answer
The following are examples of how to use the rm command:
  1. To delete the file named myfile, type the following: rm myfile.
  2. To delete all the files in the mydir directory, one by one, type the following: rm -i mydir/* After each file name displays, type y and press Enter to delete the file.
 

Tìm kiếm

Back
Top