Question

What does the exit command do in a shell script?

A Restarts the script
B Terminates the script and returns a status code
C Pauses the script
D Executes the next command
E Prints a message
Practice Next

Hey! Ask a query