remove directory
* * 1 votos
September 26th, 2006 mysurface Posted in Common, Misc, rm, rmdir | Hits: 4217 |
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
Live Chat!









November 30th, 2007 at 8:18 am
thanks it was really helpful