1.

What are interactive and non-interactive shells?

Answer»

Interactive SHELL: /bin/bash and /bin/sh is interactive shell. It is a non-login shell that gets started from a COMMAND line. It first copies the parent ENVIRONMENT and then invokes.

Non-Interactive shell: /sbin/nologin shell is non-interactive shell. It is PRESENT when the shell SCRIPT is running and just inherits the parent's environment.



Discussion

No Comment Found