What is the main function of the command interpreter?

Command Interpreter is a special program in an operating system that enables user interaction with the program in the form of command lines. The Command- line interpreter is an important part of the operating system that allows the user to…