After using some commands e.g. gitk
I can't keep using the terminal. I need to terminate gitk
and then I can keep typing commands. Is there a way to open a program and keep using the terminal? I'm using GitBash on Windows.
Asked
Active
Viewed 1,221 times
1 Answers
13
gitk &
The &
causes the command to run in the background.
As an alternative, you can interrupt a program by pressing Control-Z
in the terminal. This gives you back control of the command-line, but pauses the program. You can continue it in the background by typing
bg

stefandtw
- 468
- 6
- 5
-
Thank you very much! That's exactly what I was looking for! Cheers! – matzar Oct 03 '16 at 13:47
-
i added this to a .bashrc file in my home dir `alias gitk="gitk &"` – Ricardo Saracino Nov 28 '21 at 20:19