How do I unlink a folder in Linux?

How do I unlink a folder in Linux?
Answer
How to Remove Directories (Folders)
  1. To remove an empty directory, use either rmdir or rm -d followed by the directory name: rm -d dirname rmdir dirname.
  2. To remove non-empty directories and all the files within them, use the rm command with the -r (recursive) option: rm -r dirname.
 

Tìm kiếm

Back
Top