How do you delete multiple files at once in Linux?

How do you delete multiple files at once in Linux?
Answer
How to Remove Files
  1. To delete a single file, use the rm or unlink command followed by the file name: unlink filename rm filename. …
  2. To delete multiple files at once, use the rm command followed by the file names separated by space. …
  3. Use the rm with the -i option to confirm each file before deleting it: rm -i filename(s)
 

Tìm kiếm

Back
Top