logout
Contrast with poweroff
: It is a command
logout
specially used to exit the current login in the command line , and it also has the function, but at the same time, it can also be used to exit the executed script, and return to the calling program itself by setting parameters, which can facilitate cross-program coordination between calls.Shell
exit
logout
exit
shell
shell
poweroff
Comparison with shutdown
:
Note: poweroff
The command is not recommended, it is equivalent to directly power off;
Summary:
for shutdown and shutdown
exitexit