Answers for "bash delete folder"

9

bash remove directory

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

remove folder ubuntu

$ rm -r directoryName
Posted by: Guest on November-24-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
3

delete a directory bash script

rmdir dirname
Posted by: Guest on August-12-2020
2

remove directory and contents

rm -R directory
Posted by: Guest on June-26-2020
2

remove directory linux

rm -rf /path/to/directory/*
Posted by: Guest on November-03-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language