How do you delete a file in Terminal?

Phương Linh

New member
How do you delete a file in Terminal?
Answer
Open Terminal, type “rm” (no quotes, but there should be a space after it). Drag & drop the file you want to remove onto the Terminal window, and its path will be added at the end of the command, then hit Return.
 

Tìm kiếm

Back
Top