Answers for "remove a folder in linux command"

33

delete directory linux

rm -rf dir1
Posted by: Guest on March-06-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
6

remove directory and contents linux

rm -r path
Posted by: Guest on June-27-2020
3

remove directory from linux

rm -r filename

rm -rf filename

this command remove the directory and subdirectory forecefully
Posted by: Guest on October-04-2020
0

remove a folder in linux command

rm -r dirnameCopy
Posted by: Guest on May-21-2021

Code answers related to "remove a folder in linux command"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language