What is the exit command in Linux?

What is the exit command in Linux?
Answer
exit command in linux is used to exit the shell where it is currently running. It takes one more parameter as [N] and exits the shell with a return of status N. If n is not provided, then it simply returns the status of last command that is executed. After pressing enter, the terminal will simply close.
 

Tìm kiếm

Back
Top