Background Jobs - Help

This is a discussion on Background Jobs - Help ; Hi Folks, I'm hoping someone can help me out with this. I am trying to find out how to SSH to a remote machine, launch irssi (IRC Client), start a connection with a server and then place the prog. in ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Background Jobs

  1. Background Jobs

    Hi Folks,

    I'm hoping someone can help me out with this. I am trying to find out
    how to SSH to a remote machine, launch irssi (IRC Client), start a
    connection with a server and then place the prog. in the background
    and then log off. I would like to then periodically ssh back and check
    the status of this application.

    I know that ctrl-z will place a job in the background and that I can
    switch between background jobs with the fg command. This however seems
    to suspend a job thus halting the download from dcc or ftp (if I've
    used one of these applications and then placed it in the background.)
    I believe that the job will also quit when I log out of the remote SSH
    session.

    I discovered that "nohup &" will place a prog. in the
    background automatically and theoretically should not be affected by
    logging out of the terminal which I used to issue the command although
    this seems to not work in practice.

    Would anyone know how I can ssh to my box, lauch a prog. that can be
    placed in the background and remain running even if I quit the
    session?

    Many thanks in advance.

  2. Re: Background Jobs

    "Onyx2316" wrote in message
    news:4421aa3a.0311121838.476d5830@posting.google.c om

    > Would anyone know how I can ssh to my box, lauch a prog. that can be
    > placed in the background and remain running even if I quit the
    > session?


    "man nohup"

    $ nohup your_program &
    $ exit


    tony

    --
    use hotmail for any email replies


    -----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
    http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
    -----== Over 100,000 Newsgroups - 19 Different Servers! =-----

+ Reply to Thread