How can I open an application using the command line and then close the terminal without closing the opened application?
If I open an application from the command line, say Firefox, the application runs as long as the terminal stays open. Closing the terminal's tab will close the application.
Is there a way to open an application from the terminal such that the application will stay open even after closing the terminal?
Solution 1:
You can open in the background with the addition of an &; disown
:
$ firefox &; disown
(Thanks for the correction, I missed the zsh part)