디렉토리 및 내용 리눅스 제거
rm -r path
배쉬 삭제 폴더
# 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 |
# +---------+------------------------------------------------------------------+
리눅스에서 디렉토리 제거
rm -r filename
rm -rf filename
this command remove the directory and subdirectory forecefully
linux 명령에서 폴더 제거
rm -r dirnameCopy