Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Solved] open an app whitout monopolizing the terminal

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
WhyDub
Posts: 10
Joined: 2020-05-06 18:45

[Solved] open an app whitout monopolizing the terminal

#1 Post by WhyDub »

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.

User avatar
sickpig
Posts: 589
Joined: 2019-01-23 10:34

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

#2 Post by sickpig »

Code: Select all

appname & disown

User avatar
sunrat
Administrator
Administrator
Posts: 6463
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 473 times

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

#3 Post by sunrat »

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!

WhyDub
Posts: 10
Joined: 2020-05-06 18:45

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

#4 Post by WhyDub »

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.

Post Reply