TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Gruber: Today's command line isn't dangerous, just convenient

10 pointsby ams1about 16 years ago

3 comments

mustpaxabout 16 years ago
Don't wanna get all Unix-macho here, but the regular command line is also pretty safe when you're just launching applications and doing things equivalent to the location bar. It gets dangerous for only a specific subset of administrative commands such as rm, mv, apt- which provide different functionality anyway.<p>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:<p><pre><code> set -o noclobber </code></pre> It's saved me plenty of times from deleting important partially process data.
ericwallerabout 16 years ago
The new ones aren't dangerous because you can't actually <i>do</i> 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.
评论 #606318 未加载
benreesmanabout 16 years ago
you can pry bash from my cold, dead hands.
评论 #606504 未加载