• Post Reply Bookmark Topic Watch Topic
  • New Topic

What is command line interpreter?  RSS feed

 
chaitanya karthikk
Ranch Hand
Posts: 806
Java MySQL Database Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everybody, I got a doubt while reading io streams(IO from the command line) in java. I am sorry if I ask about a unrelated question here. here they quoted these lines
Standard Streams are a feature of many operating systems. By default, they read input from the keyboard and write output to the display. They also support I/O on files and between programs, but that feature is controlled by the command line interpreter, not the program.

What is meant by "controlled by command line interpreter?".

What I am thinking is the command line interpreter is a program in the operating system, it takes input from the keyboard and outputs it to the monitor. Suppose if I type a text in a file command line interpreter takes the data and prints it in the editor. Suppose if I supply command line arguments to a java program, the command line interpreter reads t he values and will give it to my java program.

This is what I am thinking. Is this correct?

Thank you all in advance. And sorry if I ask an unrelated question here. Have a good day.
 
Rob Spoor
Sheriff
Posts: 21135
87
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That sounds about right. Windows' Command Prompt (cmd.exe) and bash, zsh and tcsh on Unix/Linux are examples of CLI's.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!