When I launch gedit or firefox from a terminal, the terminal is occupied(by occupied I mean no other commands can be run from the same terminal window) untill I press ctrl+c but it kills gedit or firefox. Any way other than opening a new terminal window?
Asked
Active
Viewed 486 times
2 Answers
1
As per http://www.linuxandlife.com/2012/07/how-to-run-multiple-commands-in-terminal.html follow the command to launch the app with an ampersand, e.g.:
firefox &
gedit &
Following the command with the ampersand launches the app then returns cursor control to the terminal window immediately so you are free to run another command within that window.
K7AAY
- 17,705
0
You put the applications into the background with the & ...
firefox &
If you want to re-direct error messages and close the terminal leaving the applications running,
nohup firefox > /dev/null 2>&1 &
Panther
- 104,528