Answers for "how to delete directory in terminal"

11

bash remove directory

rm -rf directory-name
Posted by: Guest on March-23-2020
2

remove folder from terminal

rm -rf some_dir
Posted by: Guest on July-27-2021
4

mac terminal delete directory

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

delete directory mac terminal

rm -r dirname
Posted by: Guest on August-13-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
5

bash delete folder

# EXAMPLE
rm -r YourFolderName

# SYNTAX
# rm [option(s)-if-any] <folder(s)-to-remove-including-contents>

# +---------+------------------------------------------------------------------+
# | OPTIONS |  DESCRIPTION                                                     |
# +---------+------------------------------------------------------------------+
# |   -f    |  Force: ignore nonexistent files, never prompt                   |
# |   -i    |  Interactive: prompt before every removal                        |
# |   -I    |  Interactive: only prompt before removing more than three files  |
# |   -r    |  Recursive: remove directories and their contents recursively    |
# |   -v    |  Verbose:  explain what is being done                            |
# +---------+------------------------------------------------------------------+
Posted by: Guest on June-24-2020

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

Python Answers by Framework

Browse Popular Code Answers by Language