LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-10-2003, 05:25 PM   #1
jeasimkev
LQ Newbie
 
Registered: Dec 2003
Posts: 2

Rep: Reputation: 0
ssh connection


Hi all,

I try googling for this but didn't find any begin of answer. So please,
enlight me.

I wondered if it is possible to launch a job from a ssh connection (or any
other distant connection), disconnect and keep the job continue.

In other word, is it possible to disconnect before the job finish running, without killing this job ?

thx in advance,

Kev
 
Old 12-10-2003, 05:36 PM   #2
jeasimkev
LQ Newbie
 
Registered: Dec 2003
Posts: 2

Original Poster
Rep: Reputation: 0
Really sorry.
Why do I always find what I want just after posting ?

http://www.linuxquestions.org/questi...hreadid=124119

Command nohup is what I was looking for.
 
Old 12-10-2003, 10:06 PM   #3
mac_phil
Member
 
Registered: Sep 2003
Distribution: Mandrake 10.0
Posts: 200

Rep: Reputation: 30
'Screen' is a great command.

It allows you to have many processes doing what you've described. But you can 'bring them back' to *ANY* other SSH session all at once. You can look at their output and send them new commands.

It's like a window manager for the console which you can 'detach' from your login, then 'attach' to a future login. A screen session keeps running no matter WHAT. If your connection dies, it just detaches and runs. If there are zero users logged in, it runs.

It also allows you to switch 'windows' (shell sessions), in one console, in real time.

Here's a tutorial: http://www.delorie.com/gnu/docs/screen/screen_toc.html

Screen revolutionized my use of the terminal. I only need ONE x-terminal or ssh login to do as many different things as I want.

Last edited by mac_phil; 12-10-2003 at 10:11 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SSH connection TL3 Linux - Newbie 2 11-22-2005 03:19 AM
SSH Connection dn7 Linux - Security 16 09-02-2004 12:34 AM
Ports used by a SSH Connection proteo Linux - Networking 3 10-22-2003 10:30 AM
Secured Connection with SSH SUKHOI_Flanker Linux - Software 0 07-03-2003 02:50 AM
ssh connection doodah Linux - Networking 2 05-09-2001 08:35 AM


All times are GMT -5. The time now is 09:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration