[Solved] open an app whitout monopolizing the terminal

New to Debian (Or Linux in general)? Ask your questions here!

[Solved] open an app whitout monopolizing the terminal

Postby WhyDub » 2020-08-07 09:05

Hi,
i wonder if it is possible to open an app in the terminal without monopolizing it whit the process related to this app for example okular which i use often. so i can still use the same terminal windows to do something else if i want.

thanks.
Last edited by WhyDub on 2020-08-07 23:34, edited 1 time in total.
WhyDub
 
Posts: 5
Joined: 2020-05-06 18:45

Re: [Terminal] open an app whitout monopolizing the terminal

Postby sickpig » 2020-08-07 09:11

Code: Select all
appname & disown
User avatar
sickpig
 
Posts: 472
Joined: 2019-01-23 10:34

Re: [Terminal] open an app whitout monopolizing the terminal

Postby sunrat » 2020-08-07 13:41

Just add an ampersand after the command. eg.

Code: Select all
okular &

You may need to Ctrl-C to get the prompt back for some applications.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 3181
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: [Solved] open an app whitout monopolizing the terminal

Postby WhyDub » 2020-08-07 23:40

Thank you very much, it work well.

Whit
Code: Select all
&
and Ctrl-c. for example
Code: Select all
okular documentName.pdf &
and after that ctrl-c, keep Okular open and give me back the prompt.

This is what i was looking for.
WhyDub
 
Posts: 5
Joined: 2020-05-06 18:45


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 15 guests

fashionable