I know that some might not agree, but there are many good reasons for Terminal to have more prompt messages.
Now terminal prompts you about apt-get install, which is pretty much useless, as you can easily write sudo apt-get install yourprogram -s, for simulation and then decide if you want to install it. But if you write rm -rf it will format your disk without prompting. The same stands with command that gives your user an root account.
I never used any of it, but I heard that this two don't prompt.
You would say that if you write rm -rf in your terminal, you know what your doing. But this is not always the case.
With Linux users numbers rising there will also be nuber of those that would like to show the Linux users that their system isn't without it's flaws. I read somewhere that you can make an script for terminal that contains rm -rf command. I don't know if it really "works" like an virus meaning you could get it from the net and accidentally run it, but it's still an big problem. But this could be simply overridden if rm -rf command would always prompt: "Do you really want to format your partition? N/y".
=============================================================================== ========================================
!!!!!!You CAN already do this: rm -i or rm --interactive=always
=============================================================================== ========================================
The same should apply to whatever that command is, that gives you root power. The prompt should state: "This will render your computer useless, proceed? N/y"
There are probably other very useful commands that can be abused or misused, but I don't know them. All of this commands should come with the prompt. If apt-get can come with the prompt so can these.
If Linux wants ever to be used by general public, this should be done ASAP.
Tags:
(none)
No attachments.