Gruber: Today's command line isn't dangerous, just convenient(daringfireball.net)
daringfireball.net
Gruber: Today's command line isn't dangerous, just convenient
http://daringfireball.net/linked/2009/05/12/atwood-location-field
3 comments
The new ones aren't dangerous because you can't actually do anything with them. As soon as I can send an email (or affect the outside world in any way) from the location bar, it becomes just as dangerous as the unix command line.
cd /
rm *
essentially renders your machine useless. Surely it would be easy to make it less dangerous than this.Of course it would be, my point is that less dangerous necessarily means less powerful. Though I'd agree that there are cases where the trade off is desirable, like `rm -rf /`.
you can pry bash from my cold, dead hands.
Try taking zsh away from me and my cold, dead jaw will reanimate and seek your throat.
That said. you can get burnt clobbering important files with output redirection. It's a good idea to enable the "noclobbler" setting in Bash like so:
It's saved me plenty of times from deleting important partially process data.