How do I delete all .o files?
Answer
The following are examples of how to use the rm command:
Answer
The following are examples of how to use the rm command:
- To delete the file named myfile, type the following: rm myfile.
- 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.