Home>Article>Operation and Maintenance> How to close the terminal in linux

How to close the terminal in linux

WBOY
WBOY Original
2022-01-06 12:03:44 16799browse

How to close the terminal in Linux: 1. Use the exit command to close the terminal, which is used to exit the current shell; 2. Use the shortcut key "ctrl d" to close the terminal; 3. Click the terminal in the graphical environment The "x" in the upper right corner closes the terminal.

How to close the terminal in linux

#The operating environment of this tutorial: linux7.3 system, Dell G3 computer.

How to close the terminal in Linux

#If it is in a graphical environment, click the [x] of the terminal in the upper right corner to close the terminal Withdrew.

How to close the terminal in linux

Or directly press [ctrl d], then the terminal can also be exited with shortcut keys.

If you enter the command [exit] in command mode, the terminal will automatically exit at this moment.

Linux exit command is used to exit the current shell.

Executing exit causes the shell to exit with the specified status value. If the status value parameter is not set, the shell exits with the default value. A status value of 0 represents successful execution, and other values represent failed execution. Exit can also be used in scripts to leave the executing script and return to the shell.

How to close the terminal in linux

Related recommendations: "Linux Video Tutorial"

The above is the detailed content of How to close the terminal in linux. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn