Hacker News new | ask | show | jobs
by the_duke 3432 days ago
That's kind of like saying the 'rm' command is not well thought out, because many people wouldn't want to delete the whole file system when running 'rm -r /'.
1 comments

Actually the rm command won't let you remove the root filesystem.

Also, when ran in bash but also supported by other shells, it supports regular expressions and extended pattern matching letting you for example specify not which files you want deleted, but which files you want not.