2 ms·
I mean... This: curl google.com/?search=remove+directory+linux&feeling_lucky=1 | html_strip | head -n 1 | bash Is pretty dangerous, all things being equal, m
by dijit 2y ago
I mean...
This:
curl google.com/?search=remove+directory+linux&feeling_lucky=1 | html_strip | head -n 1 | bash
Is pretty dangerous, all things being equal, much more dangerous than copying and pasting and of course everything is more dangerous if you avoid engaging your brain entirely.
- Buttons840 2y agoIt appears from the screenshots that this tool shows you the command it will run, with some explanation of what it does, and the command options used, and then confirms you want to run the command. That is very different than the curl command you suggested is equivalent.
- imp0cat 2y agosuggest.mode: The mode to use for suggesting commands. Supported values: "clipboard" (copying command to clipboard), "unsafe-execution" (executing in the current shell session) (default: "unsafe-execution") So default mode seems to be shoot first, ask questions later.