Patent ID: 7793264

Claim:
A method for providing command-line warnings, said method comprising: in response to a computer receiving a command as input, a processor of the computer: displaying the command at a first command prompt with a first set of textual attributes; and processing the command; in response to the computer determining by the processing that said command was entered in a structurally incorrect manner, the computer permitting correction of said command; in response to the computer determining by the processing that said command is destructive of data, the computer displaying a first warning and displaying the destructive command at a second command prompt, wherein the first warning and the destructive command are displayed with text having a second set of textual attributes distinct from the first second of textual attributes; and in response to the computer determining by the processing that said command is critical, the computer: displaying a second warning; displaying the critical command at the second command prompt, wherein the second warning and critical command are displayed with text having a third set of textual attributes distinct from the first and second sets of textual attributes; and presenting an audible third warning; said method further comprising, in response to the computer determining by the processing that command is not critical, executing said command.