Answers for "how to delete file in terminal"

4

mac terminal delete directory

rm -rf dir
Posted by: Guest on November-05-2020
2

remove a file or dir in linux or mac or ubuntu

note:your_file_name can be a dir or a file 

sudo rm -r your_file_name
Posted by: Guest on May-11-2020
1

terminal remove files starting with

find  . -name 'name*' -exec rm {} ;
Posted by: Guest on July-31-2020
1

how to delete file using terminal command?

rm file_1.txt
#Works in the current directory
Posted by: Guest on May-04-2021

Code answers related to "how to delete file in terminal"

Python Answers by Framework

Browse Popular Code Answers by Language