Delete entire directory with files and subfolders in Linux without confirmation

spiros · 1 · 1541

spiros

  • Administrator
  • Hero Member
  • *****
    • Posts: 823442
    • Gender:Male
  • point d’amour
Delete entire directory with files and subfolders in Linux without confirmation

cd to the level where the directory is contained. And then:

Code: [Select]
rm -rf directoryname/
« Last Edit: 05 Jan, 2015, 22:57:54 by spiros »


 

Search Tools