[Linux] How to enable a program on a terminal to close the terminal without exiting, linux terminal
Zookeeper does not exit when the terminal starts a program to close the terminal.
Generally, when the terminal is closed, the background program started in this terminal will also be terminated. To keep the background program running after the terminal is closed, use this command:
Nohup command &
For example: nohup test. sh &
On a linux terminal, why can I continue the next command after I open the software by shutting down the software?
This process is the sub-process of your current shell (your terminal) by default, and shell will continue to go down until the sub-process ends by default. Therefore, the software is not closed, the sub-process does not return and the shell does not continue. If this is not the case, you need to put the command in the background for execution (the command is followed by an & symbol, such as command &), so that shell will not wait until the process ends.
In linux, how does one start a program ???
Open the terminal window, log in as the root user, and enter firefox to start firefox. skype should also be fine. If not, you must write the complete executable program path, and then skype