Find the answer to your Linux question:
Results 1 to 4 of 4
If i do something like > firefox then the current console becomes busy since it launched firefox How can i modify the above command to start firefox in a hidden ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2011
    Posts
    68

    How to execute a command in a new console (hidden)


    If i do something like
    > firefox
    then the current console becomes busy since it launched firefox
    How can i modify the above command to start firefox in a hidden new console

  2. #2
    Linux Engineer rcgreen's Avatar
    Join Date
    May 2006
    Location
    the hills
    Posts
    1,134
    I think you add the & character to the end of the command.

  3. #3
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    just so the OP knows, the ampersand puts the process in the background of the terminal (not in a "new" one). you can type fg in the terminal to bring the backgrounded job back to the terminal's foreground (so that you may send keyboard commands to it, for instance).

    and if you have multiple jobs backgrounded, you can see them with the command jobs.

    btw, i like to run gui apps like firefox via the runbox in Gnome, so that i don't have to worry about backgrounding, and i can still launch it just using the keyboard (Alt+F2 brings up the run dialog box in Gnome).

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Nov 2011
    Location
    New Zealand
    Posts
    79
    Quote Originally Posted by atreyu View Post
    btw, i like to run gui apps like firefox via the runbox in Gnome, so that i don't have to worry about backgrounding, and i can still launch it just using the keyboard (Alt+F2 brings up the run dialog box in Gnome).
    Yeah, ALT+F2 is so much cleaner for launching gui apps

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •