ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
No, you are precisely running things on the command line; but there is no command called "md" in Unix (perhaps you or your admin alias'ed it in bash or something).
No, you are precisely running things on the command line; but there is no command called "md" in Unix (perhaps you or your admin alias'ed it in bash or something).
No, there is a command called md in unix (preferably starting from solaris 2.4).
Its a pseduo device driver (generic - basically)supporting all the disk devices on solaris.
No, you are precisely running things on the command line; but there is no command called "md" in Unix (perhaps you or your admin alias'ed it in bash or something).
from `man md`
md - Multiple Device driver aka Linux Software Raid
now i have another problem, with rmdir i can't erase a directory if it isn't empty. how can i erase a directory wich is not empy ? i don't want to erase element by element. instead, i would like to erase the whole folder. i search in man but it doesnt' say anything
now i have another problem, with rmdir i can't erase a directory if it isn't empty. how can i erase a directory wich is not empy ? i don't want to erase element by element. instead, i would like to erase the whole folder. i search in man but it doesnt' say anything
thanks
from `man rmdir`
--ignore-fail-on-non-empty
Normally rmdir will refuse to remove a directory that is not empty. This option causes rmdir to ignore the failure to remove a directory, if that
failure is due to the directory being non-empty. (New in fileutils-4.0.)
i typically use `rm -r` as it is shorter and does same thing
from `man rmdir`
--ignore-fail-on-non-empty
Normally rmdir will refuse to remove a directory that is not empty. This option causes rmdir to ignore the failure to remove a directory, if that
failure is due to the directory being non-empty. (New in fileutils-4.0.)
Doesn't this just not remove the directory if it's not empty?
Spooon,
i stand corrected.. it does just ignore it by not doing anything.. not ignore the fact that it is not empty and delete it.. one of those options seen but not used.. and apparently misunderstood..
would be preferred, and much more fitting than the current rather obscure
Code:
--ignore-fail-on-non-empty
as ignore implies that it is ignoring the failure and is continuing with the removal. where silent or somthing similar would clearly say it is still failing but is silently doing so..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.