How to finish with hundreds open terminal on linux?

Written by @franklin, 2024-04-27, Last update: 2024-04-27

Do less, do well, do beautiful, hello!!!. Generaly on linux, the majority of programms is open by using terminal, the problem is that, for each
programm,you have an instance of terminal. For thoses who have many programm to run in same time, that is very problem: The task bar is not very beautiful to see, for add you have open terminal that you can’t use ou close. Don’t worry, after readed that article, you will never have again that problem :), today i will give you solutions for that incomfortable situation :). I will show you how to conitue use an instance of terminal after you have launched programm with it and show you how to close it wihout close the programm launched by it.

1) Continue use terminal after launch programm with him

Generaly after launched programm with an instance of terminal, you don’t have possibility to run another command with the same instance (very incomfortable). How to run command with it?
- First, run you programm. for exemple type **gedit** on your command prompt
- After, pause your programm with **Ctrl+Z**, when you do it, you can continue run another command with your terminal, but gedit launched previoulys cant not be used, but it is not closed.
- type **bg**, to make **gedit** run background. Now you can type another command in your terminal, but if you close it, gedit will also closed: **embarrassing**

2) Close terminal wihout close programm lauched by it

For make it you will not launched you programm with **traditionnal command:)**. Instead launch gedit editor or another programm with **Programm_name** , launched it like that:
- **nohup program_name**, in our case, **nohup gedit**
- press **CTRL+Z**, to make pause to current programm
- type **bg** to run current lauched programm in background
Now you can close your terminal, without being afraid to closed the launched programm

Don’t forget to follow me. See you next time.

+ * *

About the blog

Franklin

About the author

Franklin DONGMO NZOIYEM

From the same author


Tu n'es pas patriote si tu ne te reconnais pas dans ce texte
Tu n'es pas patriote si tu ne te reconnais pas dans ce texte

La recherche du salut à tout prix nous conduit dans un élan d'individualisme , d’égoïsme, d’égocentrisme et de négligence évidente de notre patrie à...

On the same topic



Copyright © 2020 | Powered By | Yaknema SARL