4 ms·
Possible explanation: lots of terminals paste on click. A single miss click can execute who know what from your clipboard.
by snicker7 5y ago
Possible explanation: lots of terminals paste on click. A single miss click can execute who know what from your clipboard.
- nicolas_t 5y agoIn my experience some people keep making the same careless mistakes, the first time, you let it pass, treat it as a learning experience. The second time, you start seeing that it's always the same person doing the same mistake. Copy pasting is not an excuse, before you run anything destructive, you double check what you're running. Anyone who is responsible will double check before running this kind of command, and if I can't get that person off the team, I'd severely restrict his access (in general, I think most people in a team should not have access to production data). And we do have disaster recovery plans so there's very little that could be done that would be catastrophic. But still, a lot of the disaster recovery plans call for downtime because it's not worth the cost benefit to engineer the system to be completely resilient to idiocy.
- ac50hz 5y ago+10
- teddyh 5y agoModern terminals marks pasted data as pasted, and similarly modern shells detect these marks and do not run the pasted data immediately, but shows it, highlighted, so that you can review it before confirming it.