Multiple choice

What is main difference between interactive and non-interactive shells?

  1. User input

  2. Run levels

  3. Commands

  4. Crontab

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

An interactive shell is one that reads commands from a user terminal (stdin), whereas a non-interactive shell typically executes scripts or commands from a file or pipe without user intervention.