answersLogoWhite

0


Best Answer

It reads commands from the user or from a file of commands and executes them, usually by

turning them into one or more system calls. It is usually not part of the kernel since the command

interpreter is subject to changes.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the purpose of the command interpreter?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Performing Arts

What is the purpose command Interpreter and why it is usually separate from the kernel?

It reads commands from the user or from a file of commands and executes them, usually by turning them into one or more system calls. It is usually not part of the kernel since the command interpreter is subject to changes.


Why is command interpreter not a part of operating system?

It is usually not part of the kernel since the command interpreter is subject to changes.


What is a command interpreter and why is it separate from the kernel?

A command interpreter is an interface of the operating system with the user. The user gives commands with are executed by operating system (usually by turning them into system calls). The main function of a command interpreter is to get and execute the next user specified command. Command-Interpreter is usually not part of the kernel, since multiple command interpreters (shell, in UNIX terminology) may be support by an operating system, and they do not really need to run in kernel mode. There are two main advantages to separating the command interpreter from the kernel. 1. If we want to change the way the command interpreter looks, i.e., I want to change the interface of command interpreter, I am able to do that if the command interpreter is separate from the kernel. I cannot change the code of the kernel so I cannot modify the interface. 2. If the command interpreter is a part of the kernel it is possible for a malicious process to gain access to certain part of the kernel that it showed not have to avoid this ugly scenario it is advantageous to have the command interpreter separate from kernel


Why is command interpreter usually separate from the kernel?

The command interpreter is usually separate from the kernel in case it fails. Either the interpreter or kernel could fail independently without affecting each other.


Would it be possible for the user to develop a new command interpreter using system call interface provided by the operating system?

It reads commands from the user or from a file of commands and executes them, usually by turning them into one or more system calls. It is usually not part of the kernel since the command interpreter is subject to changes. An user should be able to develop a new command interpreter using the system-call interface provided by the operating system. The command interpreter allows an user to create and manage processes and also determine ways by which they communicate (such as through pipes and files). As all of this functionality could be accessed by an user-level program using the system calls, so it should be possible for the user to develop a new command-line interpreter.

Related questions

5 What is the purpose of the command interpreter?

A command interpreter reads instructions from the user or from a file of instructions and executes them by converting them into one or more system calls.


What is the purpose command interpreter?

It reads commands from the user or from a file of commands and executes them, usually by turning them into one or more system calls. It is usually not part of the kernel since the command interpreter is subject to changes.


What is command interpreter?

A command interpreter is a program that converts the human written commands into the machine understandable language through the i/o devices. It is with the help of this interpreter we can actually communicate with the operating systems. A command interpreter is a separate program but can be referred as a component of an operating system.


What is the purpose command Interpreter and why it is usually separate from the kernel?

It reads commands from the user or from a file of commands and executes them, usually by turning them into one or more system calls. It is usually not part of the kernel since the command interpreter is subject to changes.


Why is command interpreter not a part of operating system?

It is usually not part of the kernel since the command interpreter is subject to changes.


What is a command interpreter and why is it separate from the kernel?

A command interpreter is an interface of the operating system with the user. The user gives commands with are executed by operating system (usually by turning them into system calls). The main function of a command interpreter is to get and execute the next user specified command. Command-Interpreter is usually not part of the kernel, since multiple command interpreters (shell, in UNIX terminology) may be support by an operating system, and they do not really need to run in kernel mode. There are two main advantages to separating the command interpreter from the kernel. 1. If we want to change the way the command interpreter looks, i.e., I want to change the interface of command interpreter, I am able to do that if the command interpreter is separate from the kernel. I cannot change the code of the kernel so I cannot modify the interface. 2. If the command interpreter is a part of the kernel it is possible for a malicious process to gain access to certain part of the kernel that it showed not have to avoid this ugly scenario it is advantageous to have the command interpreter separate from kernel


Why is command interpreter usually separate from the kernel?

The command interpreter is usually separate from the kernel in case it fails. Either the interpreter or kernel could fail independently without affecting each other.


Why some times command line interpreter are not the part of the kernel?

Not integrating the command interpreter into the kernel allows for easier replacement and customization. It can also increase reliability.


How do you use command interpreter?

To use a command interpreter, you typically open a terminal or command prompt on your computer, then type commands followed by any necessary arguments or options. The interpreter reads these commands, interprets them, and executes the corresponding actions on the system. Common examples of command interpreters include the Windows Command Prompt, macOS Terminal, and Unix/Linux shells like Bash.


What is a bashism?

A bashism is a shell command specific to the Bash interpreter.


What is shell in dos in opereating system?

It is the command interpreter: command.com


What is the 32 bit command line interpreter in windows 2000?

cmd.exe cmd.exe