terminal remove folder code example
Example 1: bash remove directory
rm -rf directory-name
Example 2: how delete folder terminal mac
rm -rf some_dir
-r "recursive" -f "force" (suppress confirmation messages)
Be careful!
Example 3: delete directory terminal
rm -r directory-name
Example 4: terminal delete fle
rm MyFile.rtf