remove directory

September 26th, 2006 mysurface Posted in Common, Misc, rm, rmdir | Hits: 26365 | 4 Comments »

rmdir is like a reverse of mkdir, it removes the empty directory.

To remove an empty directory call hello, just

rmdir hello

And you can remove parent directory as well like

rmdir -p lvl1/lvl2/hello

It will removes the directory lvl1 then sub dir lvl2 and sub sub dir hello

But to use rmdir, the directory MUST be empty. So I found it useless, i can remove empty directory by using

rm -rf hello

4 Responses to “remove directory”

  1. thanks it was really helpful

  2. Very good article, well written and very thought out.

  3. You can definitely see your enthusiasm in the work you write. The world hopes for even more passionate writers like you who aren’t afraid to say how they believe. Always go after your heart.

  4. Howdy, we check your site often and that i personal a similar one and i also only agreed to be questioning if you get lots of spam comments? If hence so how exactly does one stop this, any kind of extension or something like that you’ll advise? i get most recently it’s driving myself crazy hence any there’s help quite definitely treasured.

Leave a Reply