Find the answer to your Linux question:
Results 1 to 5 of 5
I've encountered some sort of neuroticism regarding launching things from the terminal window. I'm running Ubuntu 6.06. When I open the terminal window and type in Code: desktop:~$ firefox it ...
  1. #1
    Just Joined! Ryndal's Avatar
    Join Date
    May 2006
    Posts
    6

    Launching multiple apps from one terminal

    I've encountered some sort of neuroticism regarding launching things from the terminal window. I'm running Ubuntu 6.06.

    When I open the terminal window and type in
    Code:
    desktop:~$ firefox
    it will launch firefox normally, but the terminal window is then tied up. Closing firefox will free the terminal window, while closing the terminal window instead kills firefox. There have been a few instances where somehow I could launch things (I'll continue with the FF example) and the terminal would then reset as though the launched app had been killed and was ready to launch another app.
    My friend suggested I try using nohup but that doesn't work and I honestly don't know what it is(so an explanation of that would be nice).

    Is there any way to consistently get my terminal to launch multiple apps or is this some sort of fluke?

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,095
    Try entering your program like this in the terminal:

    Code:
    firefox &
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  3. #3
    Linux Engineer Zelmo's Avatar
    Join Date
    Jan 2006
    Location
    Riverton, UT, USA
    Posts
    1,001
    Here's a nice article that goes into more depth. It's good stuff to know if you're becoming a command-line junkie.
    Stand up and be counted as a Linux user!

  4. #4
    Just Joined! Ryndal's Avatar
    Join Date
    May 2006
    Posts
    6
    I appreciate the help guys, I really do.

  5. #5
    Just Joined!
    Join Date
    Sep 2006
    Location
    At home, i.e. iz in delhi
    Posts
    15
    for any command, or any app for running it into background all u have to do is: write
    Code:
    $command &
    whr command in ur case is firefox, now for getting it into the foreground and then sending again sending it to background can b done following commands respectivey:

    Code:
    fg
    Code:
    bg
    Regards,
    Ayush Agrawal.

Posting Permissions

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