Find the answer to your Linux question:
Results 1 to 6 of 6
I read through a few other threads on this forum, but I still cant find the information I am looking for. I am looking to create a background process. I ...
  1. #1
    Just Joined!
    Join Date
    Nov 2009
    Posts
    27

    Creating Daemons

    I read through a few other threads on this forum, but I still cant find the information I am looking for.
    I am looking to create a background process.
    I have a server that that I can only connect to via ssh, and I would like to compress some files using tar on this server.

    Now I can do this, I just have to leave a terminal window open on my computer and run tar via ssh.
    Is there a way to run the process in the background so I can
    1) Connect via ssh
    2) start the tar process
    3) Close the SSH window
    4) the server works away while my computer is asleep.

  2. #2
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,102
    Insert two steps:
    1.5 screen
    2.5 <Ctrl>+<a> <d>

    After reconnect:
    screen -list
    screen -r <number>

  3. #3
    Just Joined!
    Join Date
    Nov 2009
    Posts
    27
    I start it and hit <control> <Alt> -<d> but it has no response.
    if I hit control-z it will end the process
    and then if I hit <control> <alt> - <d> it will logout
    but all of the jobs were stopped.

  4. #4
    Just Joined!
    Join Date
    Nov 2009
    Posts
    27
    i did get it working, but there was a <Control> -<Z> in there somewhere

  5. #5
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,102
    Not <Alt>
    Use <a>

    Or read
    man screen

  6. #6
    Just Joined!
    Join Date
    Nov 2009
    Posts
    27
    ok you are right, but for me I really have to hold down just control and <a> for like a second. then tap <d>

    Thank you!! it works it works!

Posting Permissions

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