Linux gedit and the terminal

CodeKingPlusPlus picture CodeKingPlusPlus · Jun 13, 2012 · Viewed 12k times · Source

Whenever I am using gedit to write code I can access either gedit or the terminal but not both. For example, when I type gedit hello.c linux brings up the file hello.c inside gedit. Now, while gedit is still displaying hello.c I cannot type anything into the terminal without closing hello.c in gedit.

How can I get around this so that I may actively use both the terminal and gedit simultaneously?

Thanks

Answer

Eric Fortis picture Eric Fortis · Jun 13, 2012

type gedit hello.c &

or if you have already typed it without the ampersand press Ctrl + Z to send it to background, and type bg to enable gedit as David pointed out.