Why does a shell process terminate when you presses at the beginning of a new line?

What will be an ideal response?

The purpose of a shell process is to read standard input file (the keyboard by default) for commands and try to execute them. is the end-of-file character in LINUX/UNIX. When you press on a new line, shell thinks that it has reached the end-of-file of standard input. It, therefore, terminates itself as the file (standard input) it reads commands from has ended.

Computer Science & Information Technology

You might also like to view...

When storing information in a computer, the binary numbering system uses a(n) ________ to represent an off switch

Fill in the blank(s) with correct word

Computer Science & Information Technology

Which of the following statements is false?

a. The Java API consists of packages. b. The Java API helps programmers avoid "reinventing the wheel." c. The Java API consists of import declarations. d. None of the above.

Computer Science & Information Technology