How to launch an app in terminal, & keep it running after I close terminal?
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
How to launch an app in terminal, & keep it running after I close terminal?
I like terminal, but sometimes I need to use Nautilus to launch, e.g., PDF viewer.
Then I usually close Nautilus and go on watching PDF.
I want to do the same from within terminal.
Is there a way to launch an app from terminal, and keep it running after I close the terminal?
(I'm not asking of "&" suffix)
Re: How to launch an app in terminal, & keep it running after I close terminal?
Quote:
Originally posted by kornerr I like terminal, but sometimes I need to use Nautilus to launch, e.g., PDF viewer.
Then I usually close Nautilus and go on watching PDF.
I want to do the same from within terminal.
Is there a way to launch an app from terminal, and keep it running after I close the terminal?
(I'm not asking of "&" suffix)
Thanks.
hi kornerr, you are looking for the "nohup" command. Next time you launch such a command from a terminal, launch it like this:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.