There are a few possible answers to this, but in the particular case where one shell script calls another program or script at the end, the answer is easy. Use exec: #!/bin/bash # Do stuff here ... # ...
Exiting a script and logging out are very different, but sometimes you may need to log out of your Linux system from within a script. Here's how to do it. Most of the time, exiting a script leaves you ...
一些您可能无法访问的结果已被隐去。
显示无法访问的结果