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







November 30th, 2007 at 8:18 am
thanks it was really helpful
May 19th, 2011 at 1:18 am
Very good article, well written and very thought out.
May 19th, 2011 at 4:38 am
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.
September 8th, 2011 at 2:13 pm
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.