Home » LPI » 117-201 » After typing in a new command and pressing enter, you receive an error message indicating incorrect syntax. This error message originated from?
After typing in a new command and pressing enter, you receive an error message indicating incorrect syntax. This error message originated from?
A. The shell.
B. The operating system.
C. The command.
D. The kernel.
Correct Answer: C
Explanation/Reference:
Explanation: When you run a ‘command’ you are actually instructing the shell to run a program. If the shell can find the program, it will run it. The shell knows how to start the program, but it doesn’t know the syntax of the program/command. If you get an error saying ‘incorrect syntax’, the error will be coming from the program.
Incorrect Answers
A:The shell knows how to start the program, but it doesn’t know the syntax of the program/command. A shell error message would be for example, ‘<command>: Command not found.’.
B:The operating system runs the shell. It doesn’t know about specific commands.
D:The kernel is effectively the operating system. It doesn’t know about specific commands.
Download Printable PDF. VALID exam to help you PASS.
|
|