Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

When I launch any application from terminal, then the terminal gets locked until I close that application. What I want is just to use terminal for launching programs and then use the same terminal for other purpose without closing that application.

I googled up and found that one solution is running the process in background like

      gedit &

Is n't there any other way by which I only type "gedit" and then return to command prompt? Because I have seen such use in fedora terminal. How is it done in fedora by default ?

Thank You.

share|improve this question
add comment

1 Answer 1

There is no way to do what you are asking without patching either bash or every application you wish to give this behavior to. However if you want to put a program running on a terminal into the background (as though you had run it with & is to switch to the terminal it is running on, press CTRL-Z and then type bg. The first thing says to suspend execution of the process and the second says to restart it in the background.

share|improve this answer
    
what I wanted to ask is , how we can open apps in fedora terminal in background without using '&' and not in ubuntu ?? –  Jignesh Mar 3 '13 at 12:47
    
You cannot. I tried this just a few minutes ago. With the exception of apps that implement the background functionality (such as xdg-open, which you might want to try out) the functionality is the same as in ubuntu. This is mostly because the behavior is specified in bash, which both distro's use the same version of. –  Alex L. Mar 3 '13 at 20:24
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.