25.2k views
3 votes
.In Linux what command sequence do we enter to stop a program?

User Zaxme
by
5.1k points

1 Answer

5 votes

Answer:

exit command is used to stop the program.

Step-by-step explanation:

exit command is used to exit the shell when it is currently running.It can take one or more arguments exit[n] and exits the shell and returns the status of n.

exit with parameters

exit [n] exits the shell and returns the status of n.

exit without parameters

exit exits the shell and returns the status of last command that is executed.

User Nfgl
by
4.7k points