Linux Command Line Interface

Linux Command Line Interface

Sections: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | Index | Next >

exit Command

Learning objective: (3) Demonstrate the use of the exit command


Click on image to enlarge.

"exit" is a command used in many operating system command line shells and scripting languages. The command causes the shell or program to terminate. If performed within an interactive command shell, the user is logged out of their current session, and/or the user's current console or terminal connection is disconnected. [Wikipedia]

exit

The "exit" command terminates your shell session. It is always a good idea to terminate your session yourself and not assume that closing the client like PuTTY will automatically cause the server to exit your session by default. For some clients like PuTTY, the "exit" command will also quit the client application on your local system.

Thinking: How is a remote connection different from your desktop?

Key terms: connection, session

Resources:
To maximize your learning, please visit these Web sites and review their content to help reinforce the concepts presented in this section.

Quick links:
exit (command) @ Wikipedia
Linux and Unix exit command

Embedded Resources

Notes on navigation: Click inside the frame to navigate the embedded Web page. - Click outside the frame to navigate this page to scroll up/down between the embedded Web pages. - Click on the frame title to open that page in a new tab in most browsers. - Click on the the "Reload page" link to reload the original page for that frame.

exit (command) @ Wikipedia | Reload page | If frame is empty, click on the link to view the page in a new tab or window

Linux and Unix exit command | Reload page | If frame is empty, click on the link to view the page in a new tab or window

Sections: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | Index | Next >