Original link: http://codingstandards.iteye.com/blog/836625 (reproduced please specify the source)Description of UseThe exit command exits the current shell and can terminate the current script execution in a shell script.Common parametersFormat:
Linux provides a special variable $ to save the exit status code of the last executed command. For commands that need to be checked, you must view or use the $? variable immediately after it has been run. Its value becomes the exit status code of
There are many ways:
Exit VI
When you are finished editing a file, you are ready to exit VI when you return to the shell, you can use one of the following methods.
In command mode, even press two Capitals Z, if the currently edited file has been
Linux Shell Bash with special meaning exit code purpose descriptionThe exit command exits the current shell and can terminate the current script execution in a shell script.Common parametersFormat: Exit nExit. Set the exit code to N. (cause the
1. Graceful exit of the process 1.1.kill-9 PID problemsIt is easy and efficient to force a process to be killed by Kill-9 PID on Linux, so many program stop scripts often choose how to use the kill-9 PID.Whether the Kill-9 PID of Linux or the
On the first, straight hit Linux:12 asked 1. What is Linux? Linux is an exotic operating system that is born on the web, growing up on the web, and ripe for networking. In the 1991, Finnish college student Linus Torvalds The idea of developing a
Exit VIWhen you are finished editing the file, ready to exit VI when you return to the shell, you can use one of the following methods.In command mode, double-press two capital Letter Z, if the currently edited file has been modified, then VI save
LINUX Common Command SetThis is my study of Linux online search information, basically from the online resources or other people's blog, now can not find the source, if anyone found its source, please notify me,I must attach the link.SuThe SU
Linux exit X command line. In general, the shell operation we perform under the Linux GUI is not really a shell, it has been set up on Xwindow. If you want to switch to the pure command character console, the average person will think to switch Ctrl
Unix/linux generally want to let a program run in the background, many use & at the end of the program to let the program run automatically, but if you want to exit the terminal, the program is still running in the background, you have to use Nohup
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.