remove directory

September 26th, 2006 mysurface Posted in Common, Misc, rm, rmdir | Hits: 40791 | 5 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

5 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.

  5. Magnificent goods from you, man. I’ve take note your stuff prior to and you’re just extremely great. I really like what you have bought right here, really like what you’re saying and the best way through which you assert it. You’re making it enjoyable and you still take care of to keep it smart. I can not wait to learn much more from you. That is actually a wonderful site.

Leave a Reply